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

Unified Diff: Source/core/css/CSSValue.cpp

Issue 719993002: Remove CSSValue::Type and CSSValue::cssValueType() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/CSSValue.h ('k') | Source/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSValue.cpp
diff --git a/Source/core/css/CSSValue.cpp b/Source/core/css/CSSValue.cpp
index c24b1c828552aacba6e4db8c0e84e78b73f65278..1c7fbd839061016f0456c026cc26538e05532317 100644
--- a/Source/core/css/CSSValue.cpp
+++ b/Source/core/css/CSSValue.cpp
@@ -69,19 +69,6 @@ bool CSSValue::isImplicitInitialValue() const
return m_classType == InitialClass && toCSSInitialValue(this)->isImplicit();
}
-CSSValue::Type CSSValue::cssValueType() const
-{
- if (isInheritedValue())
- return CSS_INHERIT;
- if (isPrimitiveValue())
- return CSS_PRIMITIVE_VALUE;
- if (isValueList())
- return CSS_VALUE_LIST;
- if (isInitialValue())
- return CSS_INITIAL;
- return CSS_CUSTOM;
-}
-
bool CSSValue::hasFailedOrCanceledSubresources() const
{
if (isValueList())
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698