aboutsummaryrefslogtreecommitdiff
path: root/samplecode/TransitionView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/TransitionView.cpp')
-rw-r--r--samplecode/TransitionView.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/samplecode/TransitionView.cpp b/samplecode/TransitionView.cpp
index 19cb24d4c3..b2b1b9d24f 100644
--- a/samplecode/TransitionView.cpp
+++ b/samplecode/TransitionView.cpp
@@ -4,6 +4,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+#include "TransitionView.h"
+
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
@@ -186,9 +188,6 @@ private:
typedef SampleView INHERITED;
};
-// FIXME: this should go in a header
-SkView* create_transition(SkView* prev, SkView* next, int direction);
-
SkView* create_transition(SkView* prev, SkView* next, int direction) {
return SkNEW_ARGS(TransitionView, (prev, next, direction));
-};
+}