aboutsummaryrefslogtreecommitdiff
path: root/samplecode/OverView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/OverView.cpp')
-rw-r--r--samplecode/OverView.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/samplecode/OverView.cpp b/samplecode/OverView.cpp
index 9858608241..f170bdbcad 100644
--- a/samplecode/OverView.cpp
+++ b/samplecode/OverView.cpp
@@ -5,6 +5,8 @@
* found in the LICENSE file.
*/
+#include "OverView.h"
+
#include "SampleCode.h"
#include "SkCanvas.h"
@@ -69,14 +71,10 @@ private:
typedef SkView INHERITED;
};
-// FIXME: this should be in a header
-SkView* create_overview(int count, const SkViewFactory* factories[]);
SkView* create_overview(int count, const SkViewFactory* factories[]) {
return SkNEW_ARGS(OverView, (count, factories));
}
-// FIXME: this should be in a header
-bool is_overview(SkView* view);
bool is_overview(SkView* view) {
SkEvent isOverview(gIsOverview);
return view->doQuery(&isOverview);