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

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

Issue 2589383002: Do not push the custom element construction stack in some cases. (Closed)
Patch Set: Remove redundant scope and rebase. 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.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
index 27eb3dda4c96eb076673054ad34a1b61b6b92945..eac09b8080bf0b0f82d26f115b53d59792d20928 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
@@ -73,7 +73,9 @@ class CORE_EXPORT ScriptCustomElementDefinition final
// Implementations of |CustomElementDefinition|
ScriptValue getConstructorForScript() final;
bool runConstructor(Element*) override;
- Element* runConstructor();
+
+ // Calls the constructor. The script scope, etc. must already be set up.
+ Element* callConstructor();
void runCallback(v8::Local<v8::Function>,
Element*,

Powered by Google App Engine
This is Rietveld 408576698