diff options
author | 2012-09-14 18:42:01 +0000 | |
---|---|---|
committer | 2012-09-14 18:42:01 +0000 | |
commit | 6a12178fb32146232912fc20abb463b430f9025d (patch) | |
tree | feb780fb43f2de2a4181713344ff873f5e74e7b0 /samplecode/TransitionView.cpp | |
parent | 39362527e955948aa3325d91d00bd83df74cbe00 (diff) |
Add a header file for TransitionView.cpp
committed from https://codereview.appspot.com/6492119/ for Thiago Farina <tfarina@chromium.org>
git-svn-id: http://skia.googlecode.com/svn/trunk@5552 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/TransitionView.cpp')
-rw-r--r-- | samplecode/TransitionView.cpp | 7 |
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)); -}; +} |