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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp

Issue 2566823002: Remove deprecated ExceptionState constructors. (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp
index f6f8fb482c31b67eedc1bfca9b5b5a7e000133c9..2079a1963c62ed3aecb4ab8db665e58ebb9891d2 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.cpp
@@ -179,8 +179,8 @@ HTMLElement* ScriptCustomElementDefinition::createElementSync(
ScriptState::Scope scope(m_scriptState.get());
v8::Isolate* isolate = m_scriptState->isolate();
- ExceptionState exceptionState(ExceptionState::ConstructionContext,
- "CustomElement", constructor(), isolate);
+ ExceptionState exceptionState(isolate, ExceptionState::ConstructionContext,
+ "CustomElement");
// Create an element with the synchronous custom elements flag set.
// https://dom.spec.whatwg.org/#concept-create-element

Powered by Google App Engine
This is Rietveld 408576698