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

Unified Diff: third_party/WebKit/Source/core/css/CSSValuePool.h

Issue 2796183002: Introduce the nested namespace ::blink::cssvalue, start with CSSColorValue. (Closed)
Patch Set: Use an alias for CSSColorValue that is scoped to the class. Created 3 years, 8 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
Index: third_party/WebKit/Source/core/css/CSSValuePool.h
diff --git a/third_party/WebKit/Source/core/css/CSSValuePool.h b/third_party/WebKit/Source/core/css/CSSValuePool.h
index e07d4518ef83275b55b272c2fb6d371e8455194c..e5a8051a5f310b646d7f4c723b5e61546bc8c835 100644
--- a/third_party/WebKit/Source/core/css/CSSValuePool.h
+++ b/third_party/WebKit/Source/core/css/CSSValuePool.h
@@ -51,6 +51,7 @@ class CORE_EXPORT CSSValuePool
public:
// TODO(sashab): Make all the value pools store const CSSValues.
static const int maximumCacheableIntegerValue = 255;
+ using CSSColorValue = ::blink::cssvalue::CSSColorValue;
dcheng 2017/04/05 06:21:26 Nit: I think ::blink:: can be omitted. (We don't
slangley 2017/04/05 06:45:57 Done
using ColorValueCache = HeapHashMap<unsigned, Member<CSSColorValue>>;
static const unsigned maximumColorCacheSize = 512;
using FontFaceValueCache =

Powered by Google App Engine
This is Rietveld 408576698