return -1 if we failed to find by title

git-svn-id: http://skia.googlecode.com/svn/trunk@2931 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
mike@reedtribe.org 2011-12-28 20:02:10 +00:00
parent abfa8d137b
commit dd52caaa09

View File

@ -758,8 +758,7 @@ int SampleWindow::findByTitle(const char title[]) {
return i; return i;
} }
} }
// TODO(reed): what should this return if the title is not found? return -1;
return 0;
} }
static SkBitmap capture_bitmap(SkCanvas* canvas) { static SkBitmap capture_bitmap(SkCanvas* canvas) {