Index: experimental/SkV8Example/JsContext.h |
diff --git a/experimental/SkV8Example/JsContext.h b/experimental/SkV8Example/JsContext.h |
index 60446f887fbd5786846836aa86e52af442301c3b..a6b5e4cae551117fd54e2293c32463fa3fe1dc46 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 |