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

Unified Diff: Source/core/html/parser/HTMLEntitySearch.h

Issue 1306413003: Make classes and structures in core/html 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/html/parser/HTMLEntityParser.h ('k') | Source/core/html/parser/HTMLEntityTable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLEntitySearch.h
diff --git a/Source/core/html/parser/HTMLEntitySearch.h b/Source/core/html/parser/HTMLEntitySearch.h
index 6d12fd3ecc77dbd83fa2e1a582a4f5c26a57dc35..31b70a30facf4272f210955bb3b1c8df335fc04a 100644
--- a/Source/core/html/parser/HTMLEntitySearch.h
+++ b/Source/core/html/parser/HTMLEntitySearch.h
@@ -26,6 +26,7 @@
#ifndef HTMLEntitySearch_h
#define HTMLEntitySearch_h
+#include "wtf/Allocator.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -33,6 +34,7 @@ namespace blink {
struct HTMLEntityTableEntry;
class HTMLEntitySearch {
+ STACK_ALLOCATED();
public:
HTMLEntitySearch();
« no previous file with comments | « Source/core/html/parser/HTMLEntityParser.h ('k') | Source/core/html/parser/HTMLEntityTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698