Index: chrome/test/base/module_system_test.h |
diff --git a/chrome/test/base/module_system_test.h b/chrome/test/base/module_system_test.h |
index 8402d57b39e2e74921ffd3a11797cca91045dd74..0abf71bb37783638eec2e8ec110433fc82d0a540 100644 |
--- a/chrome/test/base/module_system_test.h |
+++ b/chrome/test/base/module_system_test.h |
@@ -8,6 +8,8 @@ |
#include "chrome/renderer/extensions/chrome_v8_context.h" |
#include "extensions/renderer/module_system.h" |
#include "extensions/renderer/scoped_persistent.h" |
+#include "gin/public/context_holder.h" |
+#include "gin/public/isolate_holder.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "v8/include/v8.h" |
@@ -56,7 +58,8 @@ class ModuleSystemTest : public testing::Test { |
// Create an empty object in the global scope with name |name|. |
v8::Handle<v8::Object> CreateGlobal(const std::string& name); |
- v8::Isolate* isolate_; |
+ gin::IsolateHolder isolate_holder_; |
+ gin::ContextHolder context_holder_; |
v8::HandleScope handle_scope_; |
scoped_ptr<extensions::ChromeV8Context> context_; |
class AssertNatives; |