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

Unified Diff: chrome/test/base/module_system_test.h

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android compilation Created 7 years, 9 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 | « chrome/renderer/resources/renderer_resources.grd ('k') | chrome/test/base/module_system_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 457832b05b69fe633b5c6570322476dc0203b4cf..e4531f8986ab9570a733dcf14550412f219c0054 100644
--- a/chrome/test/base/module_system_test.h
+++ b/chrome/test/base/module_system_test.h
@@ -6,6 +6,7 @@
#define CHROME_TEST_BASE_MODULE_SYSTEM_TEST_H_
#include "chrome/renderer/extensions/module_system.h"
+#include "chrome/renderer/extensions/scoped_persistent.h"
#include "v8/include/v8.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -50,7 +51,7 @@ 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::Persistent<v8::Context> context_;
+ extensions::ScopedPersistent<v8::Context> context_;
v8::HandleScope handle_scope_;
AssertNatives* assert_natives_;
scoped_ptr<StringSourceMap> source_map_;
« no previous file with comments | « chrome/renderer/resources/renderer_resources.grd ('k') | chrome/test/base/module_system_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698