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

Unified Diff: Source/bindings/core/v8/V8DOMActivityLogger.cpp

Issue 426853002: Make it possible to have <object>'s scriptableObject as a v8 object instead of NPObject. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
Index: Source/bindings/core/v8/V8DOMActivityLogger.cpp
diff --git a/Source/bindings/core/v8/V8DOMActivityLogger.cpp b/Source/bindings/core/v8/V8DOMActivityLogger.cpp
index f7456c2fdc60488cd19dbc1651f92d619cffbae9..546dec71e901c91361765260de80d57e4778165d 100644
--- a/Source/bindings/core/v8/V8DOMActivityLogger.cpp
+++ b/Source/bindings/core/v8/V8DOMActivityLogger.cpp
@@ -92,6 +92,7 @@ V8DOMActivityLogger* V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld()
if (!isolate->InContext())
return 0;
+ v8::HandleScope handleScope(isolate);
v8::Handle<v8::Context> context = isolate->GetCurrentContext();
if (context.IsEmpty() || !toDOMWindow(context))
return 0;
« no previous file with comments | « Source/bindings/core/v8/ScriptController.cpp ('k') | Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698