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

Unified Diff: Source/core/xml/XPathParser.h

Issue 1321723004: Make classes and structures in core/xml, core/input, core/imagebitmap and core/Init 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/xml/DocumentXSLT.h ('k') | Source/core/xml/parser/XMLDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathParser.h
diff --git a/Source/core/xml/XPathParser.h b/Source/core/xml/XPathParser.h
index 8062985089f91e09a93ae58551b7da10cb8efb7f..7e9228a2fa0784689cbf7b45cf75c30a33dd7850 100644
--- a/Source/core/xml/XPathParser.h
+++ b/Source/core/xml/XPathParser.h
@@ -29,6 +29,7 @@
#include "core/xml/XPathPredicate.h"
#include "core/xml/XPathStep.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -44,6 +45,7 @@ class Parser;
class Predicate;
struct Token {
+ STACK_ALLOCATED();
int type;
String str;
Step::Axis axis;
« no previous file with comments | « Source/core/xml/DocumentXSLT.h ('k') | Source/core/xml/parser/XMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698