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

Unified Diff: Source/core/dom/custom/CustomElement.h

Issue 1304043002: Make classes and structures in core/dom fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/dom/WeakIdentifierMap.h ('k') | Source/core/dom/custom/CustomElementCallbackQueue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/custom/CustomElement.h
diff --git a/Source/core/dom/custom/CustomElement.h b/Source/core/dom/custom/CustomElement.h
index d2ab54a7fce654ab8e376d4d672fb9b2047031d1..470f7a60cd7c349279d7065a7f985d409248d708 100644
--- a/Source/core/dom/custom/CustomElement.h
+++ b/Source/core/dom/custom/CustomElement.h
@@ -33,6 +33,7 @@
#include "core/CoreExport.h"
#include "core/dom/custom/CustomElementDefinition.h"
+#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/Noncopyable.h"
#include "wtf/PassRefPtr.h"
@@ -47,6 +48,7 @@ class Document;
class HTMLImportChild;
class CORE_EXPORT CustomElement {
+ STATIC_ONLY(CustomElement);
public:
enum NameSet {
EmbedderNames = 1 << 0,
@@ -71,8 +73,6 @@ public:
static void wasDestroyed(Element*);
private:
- CustomElement();
-
static Vector<AtomicString>& embedderCustomElementNames();
};
« no previous file with comments | « Source/core/dom/WeakIdentifierMap.h ('k') | Source/core/dom/custom/CustomElementCallbackQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698