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

Unified Diff: chrome/renderer/extensions/object_backed_native_handler.cc

Issue 127923002: Provide an Isolate for v8::ObjectTemplate::New. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | content/renderer/pepper/v8_var_converter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/object_backed_native_handler.cc
diff --git a/chrome/renderer/extensions/object_backed_native_handler.cc b/chrome/renderer/extensions/object_backed_native_handler.cc
index c99a6c9e405cd83c2f26150bff64aa4d8bad9694..c42d2fc50ecdc6d99ca7202a745a593d5445e3db 100644
--- a/chrome/renderer/extensions/object_backed_native_handler.cc
+++ b/chrome/renderer/extensions/object_backed_native_handler.cc
@@ -24,7 +24,8 @@ const char* kHandlerFunction = "handler_function";
ObjectBackedNativeHandler::ObjectBackedNativeHandler(
ChromeV8Context* context)
: context_(context),
- object_template_(v8::ObjectTemplate::New()) {
+ object_template_(v8::ObjectTemplate::New(
+ context->v8_context()->GetIsolate())) {
}
ObjectBackedNativeHandler::~ObjectBackedNativeHandler() {
« no previous file with comments | « no previous file | content/renderer/pepper/v8_var_converter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698