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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1952893003: Implement custom element construction and some 'define' checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do not expose CustomElementsRegistry to isolated worlds. Created 4 years, 7 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: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index f05f277465d432d8b9a6bc5a7f928ba1b961aeee..9a965e0430db4c7c42e2069d84ee580b47be67ac 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -742,7 +742,7 @@ ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicStri
}
V0CustomElementConstructorBuilder constructorBuilder(scriptState, options);
- registrationContext()->registerElement(this, &constructorBuilder, name, validNames, exceptionState);
+ registrationContext()->registerElement(scriptState, this, &constructorBuilder, name, validNames, exceptionState);
return constructorBuilder.bindingsReturnValue();
}

Powered by Google App Engine
This is Rietveld 408576698