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

Unified Diff: Source/core/css/parser/CSSParserFastPaths.h

Issue 1304623002: Make blink classes and structures in core/css fast-allocated (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing (Fixed windows compile error) 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/css/StyleRuleImport.h ('k') | Source/core/css/parser/CSSParserObserverWrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserFastPaths.h
diff --git a/Source/core/css/parser/CSSParserFastPaths.h b/Source/core/css/parser/CSSParserFastPaths.h
index d8320961ca594bef0ce4e0446f9afc3ccdd42761..7ae1018cd2fd1532cead577a0f8a4d6c9718fe09 100644
--- a/Source/core/css/parser/CSSParserFastPaths.h
+++ b/Source/core/css/parser/CSSParserFastPaths.h
@@ -9,6 +9,7 @@
#include "core/CSSValueKeywords.h"
#include "platform/graphics/Color.h"
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
namespace blink {
@@ -16,6 +17,7 @@ namespace blink {
class CSSValue;
class CSSParserFastPaths {
+ STATIC_ONLY(CSSParserFastPaths);
public:
// Parses simple values like '10px' or 'green', but makes no guarantees
// about handling any property completely.
« no previous file with comments | « Source/core/css/StyleRuleImport.h ('k') | Source/core/css/parser/CSSParserObserverWrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698