Index: experimental/SkV8Example/Global.h |
diff --git a/experimental/SkV8Example/Global.h b/experimental/SkV8Example/Global.h |
index 3377e21ede750383f8a7ef857fcc3b427130673a..6bd3c7096239dc65bde1dde8f69c070265adcf2e 100644 |
--- a/experimental/SkV8Example/Global.h |
+++ b/experimental/SkV8Example/Global.h |
@@ -33,6 +33,7 @@ public: |
, fLastTimerID(0) |
{ |
gGlobal = this; |
+ this->initialize(); |
} |
virtual ~Global() {} |
@@ -57,6 +58,7 @@ public: |
void reportException(TryCatch* tryCatch); |
private: |
+ void initialize(); |
Handle<Context> createRootContext(); |
int32_t getNextTimerID(); |