diff options
Diffstat (limited to 'samplecode/SampleApp.cpp')
| -rw-r--r-- | samplecode/SampleApp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index a1534e53fe..d3d2aa708a 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -758,8 +758,7 @@ int SampleWindow::findByTitle(const char title[]) { return i; } } - // TODO(reed): what should this return if the title is not found? - return 0; + return -1; } static SkBitmap capture_bitmap(SkCanvas* canvas) { |
