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

Unified Diff: Source/core/html/parser/HTMLToken.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/HTMLSrcsetParser.h ('k') | Source/core/html/parser/HTMLTokenizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLToken.h
diff --git a/Source/core/html/parser/HTMLToken.h b/Source/core/html/parser/HTMLToken.h
index 2b334a0ca6a29c1b3065c079631518cca807f668..3cea5c3492d4239ea680168fdd1cd0c5b6fceba0 100644
--- a/Source/core/html/parser/HTMLToken.h
+++ b/Source/core/html/parser/HTMLToken.h
@@ -34,6 +34,7 @@
namespace blink {
class DoctypeData {
+ WTF_MAKE_FAST_ALLOCATED(DoctypeData);
WTF_MAKE_NONCOPYABLE(DoctypeData);
public:
DoctypeData()
@@ -74,8 +75,10 @@ public:
};
class Attribute {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
class Range {
+ DISALLOW_ALLOCATION();
public:
int start;
int end;
« no previous file with comments | « Source/core/html/parser/HTMLSrcsetParser.h ('k') | Source/core/html/parser/HTMLTokenizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698