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

Unified Diff: Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp

Issue 68563003: Create DOM exceptions in the correct context. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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/v8/custom/V8InjectedScriptHostCustom.cpp
diff --git a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
index 158fa81ecdc29368647eec9dad7bc5b98f563993..ee18ea1a02a164d98e2f9b6066f23439cf933264 100644
--- a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
+++ b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
@@ -77,7 +77,7 @@ ScriptValue InjectedScriptHost::nodeAsScriptValue(ScriptState* state, Node* node
v8::Local<v8::Context> context = state->context();
v8::Context::Scope contextScope(context);
- ExceptionState es(isolate);
+ ExceptionState es(v8::Handle<v8::Object>(), isolate);
if (!BindingSecurity::shouldAllowAccessToNode(node, es))
return ScriptValue(v8::Null(isolate), isolate);
return ScriptValue(toV8(node, v8::Handle<v8::Object>(), isolate), isolate);

Powered by Google App Engine
This is Rietveld 408576698