diff options
Diffstat (limited to 'experimental/SkV8Example/JsContext.h')
-rw-r--r-- | experimental/SkV8Example/JsContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/experimental/SkV8Example/JsContext.h b/experimental/SkV8Example/JsContext.h index 60446f887f..a6b5e4cae5 100644 --- a/experimental/SkV8Example/JsContext.h +++ b/experimental/SkV8Example/JsContext.h @@ -13,7 +13,7 @@ #include <v8.h> #include "SkPaint.h" -#include "BaseContext.h" +#include "DrawingMethods.h" class SkCanvas; class Global; @@ -25,7 +25,7 @@ class Global; // context.fillStyle="#FF0000"; // context.fillRect(x, y, w, h); // } -class JsContext : public BaseContext { +class JsContext : public DrawingMethods { public: JsContext(Global* global) : INHERITED(global) @@ -57,7 +57,7 @@ private: // Only valid when inside OnDraw(). SkCanvas* fCanvas; - typedef BaseContext INHERITED; + typedef DrawingMethods INHERITED; }; #endif |