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

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

Issue 2288653002: Make custom element name checks faster and fewer (Closed)
Patch Set: Lift the is8Bit check. Created 4 years, 4 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/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 31d565d79308d7a30a43ee0825152e28d73b32ce..b09c8141c9965a544e300d11d6fd7735e6ba5304 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
@@ -44,8 +44,7 @@ public:
v8::Local<v8::Object> constructor() const;
v8::Local<v8::Object> prototype() const;
- HTMLElement* createElementSync(Document&, const QualifiedName&) override;
- HTMLElement* createElementSync(Document&, const QualifiedName&, ExceptionState&) override;
+ HTMLElement* createElementSync(Document&, const QualifiedName&, ExceptionState*) override;
bool hasConnectedCallback() const override;
bool hasDisconnectedCallback() const override;
@@ -69,6 +68,9 @@ private:
const v8::Local<v8::Function>& attributeChangedCallback,
const HashSet<AtomicString>& observedAttributes);
+ HTMLElement* createElementSync(Document&, const QualifiedName&);
+ HTMLElement* createElementSync(Document&, const QualifiedName&, ExceptionState&);
esprehn 2016/08/30 21:32:32 I think I'd give these different names? Having thi
+
// Implementations of |CustomElementDefinition|
ScriptValue getConstructorForScript() final;
bool runConstructor(Element*) override;

Powered by Google App Engine
This is Rietveld 408576698