return -1 if we failed to find by title



git-svn-id: http://skia.googlecode.com/svn/trunk@2931 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index a1534e5..d3d2aa7 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -758,8 +758,7 @@
             return i;
         }
     }
-    // TODO(reed): what should this return if the title is not found?
-    return 0;
+    return -1;
 }
 
 static SkBitmap capture_bitmap(SkCanvas* canvas) {