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

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

Issue 361543002: Remove SVGPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 5 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/CSSValue.h ('k') | Source/core/css/SVGCSSComputedStyleDeclaration.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 332638e95eb32f45b122d2fa0c935552521945eb..4eb2dc5498d8503c2b44e33fe66988469739bdbf 100644
--- a/Source/core/css/CSSValue.cpp
+++ b/Source/core/css/CSSValue.cpp
@@ -55,7 +55,6 @@
#include "core/css/CSSTransformValue.h"
#include "core/css/CSSUnicodeRangeValue.h"
#include "core/css/CSSValueList.h"
-#include "core/svg/SVGPaint.h"
namespace WebCore {
@@ -199,8 +198,6 @@ bool CSSValue::equals(const CSSValue& other) const
return compareCSSValues<CSSFilterValue>(*this, other);
case CSSArrayFunctionValueClass:
return compareCSSValues<CSSArrayFunctionValue>(*this, other);
- case SVGPaintClass:
- return compareCSSValues<SVGPaint>(*this, other);
case CSSSVGDocumentClass:
return compareCSSValues<CSSSVGDocumentValue>(*this, other);
default:
@@ -281,8 +278,6 @@ String CSSValue::cssText() const
return toCSSFilterValue(this)->customCSSText();
case CSSArrayFunctionValueClass:
return toCSSArrayFunctionValue(this)->customCSSText();
- case SVGPaintClass:
- return toSVGPaint(this)->customCSSText();
case CSSSVGDocumentClass:
return toCSSSVGDocumentValue(this)->customCSSText();
}
@@ -387,9 +382,6 @@ void CSSValue::destroy()
case CSSArrayFunctionValueClass:
delete toCSSArrayFunctionValue(this);
return;
- case SVGPaintClass:
- delete toSVGPaint(this);
- return;
case CSSSVGDocumentClass:
delete toCSSSVGDocumentValue(this);
return;
@@ -494,9 +486,6 @@ void CSSValue::finalizeGarbageCollectedObject()
case CSSArrayFunctionValueClass:
toCSSArrayFunctionValue(this)->~CSSArrayFunctionValue();
return;
- case SVGPaintClass:
- toSVGPaint(this)->~SVGPaint();
- return;
case CSSSVGDocumentClass:
toCSSSVGDocumentValue(this)->~CSSSVGDocumentValue();
return;
@@ -601,9 +590,6 @@ void CSSValue::trace(Visitor* visitor)
case CSSArrayFunctionValueClass:
toCSSArrayFunctionValue(this)->traceAfterDispatch(visitor);
return;
- case SVGPaintClass:
- toSVGPaint(this)->traceAfterDispatch(visitor);
- return;
case CSSSVGDocumentClass:
toCSSSVGDocumentValue(this)->traceAfterDispatch(visitor);
return;
@@ -629,8 +615,6 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSValue::cloneForCSSOM() const
return toCSSTransformValue(this)->cloneForCSSOM();
case ImageSetClass:
return toCSSImageSetValue(this)->cloneForCSSOM();
- case SVGPaintClass:
- return toSVGPaint(this)->cloneForCSSOM();
default:
ASSERT(!isSubtypeExposedToCSSOM());
return TextCloneCSSValue::create(classType(), cssText());
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/SVGCSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698