Index: experimental/SkV8Example/SkV8Example.h |
diff --git a/experimental/SkV8Example/SkV8Example.h b/experimental/SkV8Example/SkV8Example.h |
index 3d87d7add58aafff350cae06f9087efee830849d..5e1400564c9975a3d6b6818c4fa6552c24cce15f 100644 |
--- a/experimental/SkV8Example/SkV8Example.h |
+++ b/experimental/SkV8Example/SkV8Example.h |
@@ -15,12 +15,14 @@ |
class GrContext; |
class GrGLInterface; |
class GrRenderTarget; |
+class SkSurface; |
class JsContext; |
class SkV8ExampleWindow : public SkOSWindow { |
public: |
SkV8ExampleWindow(void* hwnd, JsContext* canvas); |
+ virtual ~SkV8ExampleWindow(); |
protected: |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE; |
@@ -44,6 +46,7 @@ private: |
GrContext* fCurContext; |
const GrGLInterface* fCurIntf; |
GrRenderTarget* fCurRenderTarget; |
+ SkSurface* fCurSurface; |
#endif |
}; |