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:
parent
abfa8d137b
commit
dd52caaa09
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user