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

Unified Diff: Source/core/html/parser/HTMLEntityParser.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/HTMLDocumentParser.h ('k') | Source/core/html/parser/HTMLEntitySearch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLEntityParser.h
diff --git a/Source/core/html/parser/HTMLEntityParser.h b/Source/core/html/parser/HTMLEntityParser.h
index 42df842aa564d2d9afc6bc43552e77dc6aa7b30d..4479c23639d64e2ed7443603142fd55b42276fec 100644
--- a/Source/core/html/parser/HTMLEntityParser.h
+++ b/Source/core/html/parser/HTMLEntityParser.h
@@ -28,10 +28,12 @@
#define HTMLEntityParser_h
#include "platform/text/SegmentedString.h"
+#include "wtf/Allocator.h"
namespace blink {
class DecodedHTMLEntity {
+ STACK_ALLOCATED();
private:
// HTML entities contain at most four UTF-16 code units.
static const unsigned kMaxLength = 4;
« no previous file with comments | « Source/core/html/parser/HTMLDocumentParser.h ('k') | Source/core/html/parser/HTMLEntitySearch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698