Index: gin/public/isolate_holder.h |
diff --git a/gin/public/isolate_holder.h b/gin/public/isolate_holder.h |
index d68e4d5a58b72e28c0930fafe5cb0e6ae5c2c3ac..67c23358c87a051c9a7d0eb3e81c0e6cbbb6cbd0 100644 |
--- a/gin/public/isolate_holder.h |
+++ b/gin/public/isolate_holder.h |
@@ -8,10 +8,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/scoped_ptr.h" |
#include "gin/gin_export.h" |
- |
-namespace v8 { |
-class Isolate; |
-} |
+#include "v8/include/v8.h" |
namespace gin { |
@@ -30,6 +27,9 @@ class PerIsolateData; |
class GIN_EXPORT IsolateHolder { |
public: |
IsolateHolder(); |
+ IsolateHolder(v8::Isolate* isolate, v8::ArrayBuffer::Allocator* allocator); |
+ |
+ // TODO(jochen): Remove. |
explicit IsolateHolder(v8::Isolate* isolate); |
~IsolateHolder(); |
@@ -37,7 +37,7 @@ class GIN_EXPORT IsolateHolder { |
v8::Isolate* isolate() { return isolate_; } |
private: |
- void Init(); |
+ void Init(v8::ArrayBuffer::Allocator* allocator); |
bool isolate_owner_; |
v8::Isolate* isolate_; |