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

Unified Diff: Source/core/css/StyleColor.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/RuleSet.h ('k') | Source/core/css/StyleRuleImport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleColor.h
diff --git a/Source/core/css/StyleColor.h b/Source/core/css/StyleColor.h
index 303c19f982cd6ca47a96a9ae19e531c6d7b7ff35..20cb4021a1536a12d1c3dbc9b02d0dfede8d1352 100644
--- a/Source/core/css/StyleColor.h
+++ b/Source/core/css/StyleColor.h
@@ -32,10 +32,12 @@
#define StyleColor_h
#include "platform/graphics/Color.h"
+#include "wtf/Allocator.h"
namespace blink {
class StyleColor {
+ DISALLOW_ALLOCATION();
public:
StyleColor(Color color) : m_color(color), m_currentColor(false) { }
static StyleColor currentColor() { return StyleColor(); }
« no previous file with comments | « Source/core/css/RuleSet.h ('k') | Source/core/css/StyleRuleImport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698