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

Unified Diff: Source/web/WebEntities.h

Issue 1328773002: Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/web/WebEmbeddedWorkerImpl.h ('k') | Source/web/WebFileChooserCompletionImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebEntities.h
diff --git a/Source/web/WebEntities.h b/Source/web/WebEntities.h
index 5e55247f2004a1e38da694c90c8f04b8e7f67283..b5f4b46c247c7a82763183cfa8bb86a35a8cbddb 100644
--- a/Source/web/WebEntities.h
+++ b/Source/web/WebEntities.h
@@ -31,6 +31,7 @@
#ifndef WebEntities_h
#define WebEntities_h
+#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/text/WTFString.h"
@@ -38,6 +39,7 @@ namespace blink {
// FIXME: This class is wrong and needs to be removed!
class WebEntities {
+ DISALLOW_ALLOCATION();
public:
// ', %, ⊅, &supl; are not defined by the HTML standards.
// - IE does not support ' as an HTML entity (but support it as an XML
« no previous file with comments | « Source/web/WebEmbeddedWorkerImpl.h ('k') | Source/web/WebFileChooserCompletionImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698