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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h

Issue 2828643002: Make customElements.define faster
Patch Set: Remove some unneeded casts. Created 3 years, 8 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/custom/CustomElementDefinitionBuilder.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h
index 202d984107f5ef2a729d5ab409e565b63c567b28..0988b3fb9578b9a103734eb5dd7b3b1613d34b8b 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinitionBuilder.h
@@ -6,12 +6,12 @@
#define CustomElementDefinitionBuilder_h
#include "core/CoreExport.h"
+#include "core/dom/custom/CustomElementDefinition.h"
#include "platform/wtf/Allocator.h"
#include "platform/wtf/Noncopyable.h"
namespace blink {
-class CustomElementDefinition;
class CustomElementDescriptor;
class CustomElementRegistry;
@@ -46,7 +46,8 @@ class CORE_EXPORT CustomElementDefinitionBuilder {
virtual bool RememberOriginalProperties() = 0;
// Produce the definition. This must produce a definition.
- virtual CustomElementDefinition* Build(const CustomElementDescriptor&) = 0;
+ virtual CustomElementDefinition* Build(const CustomElementDescriptor&,
+ CustomElementDefinition::Id) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698