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

Unified Diff: Source/core/css/ComputedStyleCSSValueMapping.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/CSSToLengthConversionData.h ('k') | Source/core/css/DocumentFontFaceSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/ComputedStyleCSSValueMapping.h
diff --git a/Source/core/css/ComputedStyleCSSValueMapping.h b/Source/core/css/ComputedStyleCSSValueMapping.h
index 76764c17212b5558688ae3c2257b97e7ed2de3f2..4de732d9a42ec9ea78a753466fede58c2e35e629 100644
--- a/Source/core/css/ComputedStyleCSSValueMapping.h
+++ b/Source/core/css/ComputedStyleCSSValueMapping.h
@@ -7,6 +7,7 @@
#include "core/CSSPropertyNames.h"
#include "core/css/CSSValue.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -19,6 +20,7 @@ class StyleColor;
class Node;
class ComputedStyleCSSValueMapping {
+ STATIC_ONLY(ComputedStyleCSSValueMapping);
public:
// FIXME: Resolve computed auto alignment in applyProperty/ComputedStyle and remove this non-const styledNode parameter.
static PassRefPtrWillBeRawPtr<CSSValue> get(CSSPropertyID, const ComputedStyle&, const LayoutObject* = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false);
« no previous file with comments | « Source/core/css/CSSToLengthConversionData.h ('k') | Source/core/css/DocumentFontFaceSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698