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

Unified Diff: Source/core/css/resolver/CSSToStyleMap.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/resolver/CSSPropertyPriority.h ('k') | Source/core/css/resolver/MatchedPropertiesCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/CSSToStyleMap.h
diff --git a/Source/core/css/resolver/CSSToStyleMap.h b/Source/core/css/resolver/CSSToStyleMap.h
index 52c36975def3bcad2d79962cc7e98b8830697a74..0bf3be963fe4841aa65b2774b74db9c2ef001647 100644
--- a/Source/core/css/resolver/CSSToStyleMap.h
+++ b/Source/core/css/resolver/CSSToStyleMap.h
@@ -27,6 +27,7 @@
#include "core/animation/css/CSSTransitionData.h"
#include "core/style/ComputedStyleConstants.h"
#include "platform/animation/TimingFunction.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -37,6 +38,7 @@ class NinePieceImage;
class BorderImageLengthBox;
class CSSToStyleMap {
+ STATIC_ONLY(CSSToStyleMap);
public:
static void mapFillAttachment(StyleResolverState&, FillLayer*, CSSValue*);
static void mapFillClip(StyleResolverState&, FillLayer*, CSSValue*);
« no previous file with comments | « Source/core/css/resolver/CSSPropertyPriority.h ('k') | Source/core/css/resolver/MatchedPropertiesCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698