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

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

Issue 26234003: Add *CSS* prefix to ShadowValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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/CSSShadowValue.cpp ('k') | Source/core/css/ShadowValue.h » ('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 44494a4e214101536ba23c28a21a95682d564503..1dabfb8964edaa7bc063a8385c6243016d691beb 100644
--- a/Source/core/css/CSSValue.cpp
+++ b/Source/core/css/CSSValue.cpp
@@ -51,12 +51,12 @@
#include "core/css/CSSReflectValue.h"
#include "core/css/CSSSVGDocumentValue.h"
#include "core/css/CSSShaderValue.h"
+#include "core/css/CSSShadowValue.h"
#include "core/css/CSSTimingFunctionValue.h"
#include "core/css/CSSTransformValue.h"
#include "core/css/CSSUnicodeRangeValue.h"
#include "core/css/CSSValueList.h"
#include "core/css/CSSVariableValue.h"
-#include "core/css/ShadowValue.h"
#include "core/svg/SVGColor.h"
#include "core/svg/SVGPaint.h"
@@ -187,7 +187,7 @@ bool CSSValue::equals(const CSSValue& other) const
case ReflectClass:
return compareCSSValues<CSSReflectValue>(*this, other);
case ShadowClass:
- return compareCSSValues<ShadowValue>(*this, other);
+ return compareCSSValues<CSSShadowValue>(*this, other);
case CubicBezierTimingFunctionClass:
return compareCSSValues<CSSCubicBezierTimingFunctionValue>(*this, other);
case StepsTimingFunctionClass:
@@ -275,7 +275,7 @@ String CSSValue::cssText() const
case ReflectClass:
return static_cast<const CSSReflectValue*>(this)->customCssText();
case ShadowClass:
- return static_cast<const ShadowValue*>(this)->customCssText();
+ return toCSSShadowValue(this)->customCssText();
case CubicBezierTimingFunctionClass:
return static_cast<const CSSCubicBezierTimingFunctionValue*>(this)->customCssText();
case StepsTimingFunctionClass:
@@ -391,7 +391,7 @@ void CSSValue::destroy()
delete toCSSReflectValue(this);
return;
case ShadowClass:
- delete static_cast<ShadowValue*>(this);
+ delete toCSSShadowValue(this);
return;
case CubicBezierTimingFunctionClass:
delete toCSSCubicBezierTimingFunctionValue(this);
« no previous file with comments | « Source/core/css/CSSShadowValue.cpp ('k') | Source/core/css/ShadowValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698