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

Unified Diff: Source/core/xml/parser/XMLParserInput.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/parser/XMLDocumentParser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/parser/XMLParserInput.h
diff --git a/Source/core/xml/parser/XMLParserInput.h b/Source/core/xml/parser/XMLParserInput.h
index 8e0436bd6f47f78a3f6df74e7c7118fd03183b86..3dbc94f31b92b82d4ccf35c224392f493cc57496 100644
--- a/Source/core/xml/parser/XMLParserInput.h
+++ b/Source/core/xml/parser/XMLParserInput.h
@@ -31,11 +31,13 @@
#ifndef XMLParserInput_h
#define XMLParserInput_h
+#include "wtf/Allocator.h"
#include "wtf/text/WTFString.h"
namespace blink {
class XMLParserInput {
+ STACK_ALLOCATED();
public:
explicit XMLParserInput(const String& source)
: m_source(source)
« no previous file with comments | « Source/core/xml/parser/XMLDocumentParser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698