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

Unified Diff: Source/core/dom/custom/CustomElementException.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
Index: Source/core/dom/custom/CustomElementException.h
diff --git a/Source/core/dom/custom/CustomElementException.h b/Source/core/dom/custom/CustomElementException.h
index 4364e2ac61f65455dc0b14c3ef65b020889f44a5..f3fd3fe7acd350eaf8ea438d236f464cd45061cd 100644
--- a/Source/core/dom/custom/CustomElementException.h
+++ b/Source/core/dom/custom/CustomElementException.h
@@ -31,6 +31,7 @@
#ifndef CustomElementException_h
#define CustomElementException_h
+#include "wtf/Allocator.h"
#include "wtf/text/AtomicString.h"
#include "wtf/text/WTFString.h"
@@ -39,6 +40,7 @@ namespace blink {
class ExceptionState;
class CustomElementException {
+ STATIC_ONLY(CustomElementException);
public:
enum Reason {
CannotRegisterFromExtension,
@@ -56,8 +58,6 @@ public:
static void throwException(Reason, const AtomicString& type, ExceptionState&);
private:
- CustomElementException();
-
static String preamble(const AtomicString& type);
};
« no previous file with comments | « Source/core/dom/custom/CustomElementDescriptorHash.h ('k') | Source/core/dom/custom/CustomElementMicrotaskDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698