Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: experimental/SkV8Example/JsContext.h

Issue 676423002: Start moving to the new canvas structure. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/SkV8Example/DrawingMethods.cpp ('k') | experimental/SkV8Example/js/sample.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « experimental/SkV8Example/DrawingMethods.cpp ('k') | experimental/SkV8Example/js/sample.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698