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

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

Issue 1416793004: Remove support for -webkit-canvas and Document.getCSSCanvasContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: third_party/WebKit/Source/core/css/CSSValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSValue.cpp b/third_party/WebKit/Source/core/css/CSSValue.cpp
index 089fb4a6c24083e9ce79c34ef24c17586f90dac0..a66b20b3de0db63bd86e5e0207aef31cce16a256 100644
--- a/third_party/WebKit/Source/core/css/CSSValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSValue.cpp
@@ -29,7 +29,6 @@
#include "core/css/CSSBasicShapeValues.h"
#include "core/css/CSSBorderImageSliceValue.h"
-#include "core/css/CSSCanvasValue.h"
#include "core/css/CSSColorValue.h"
#include "core/css/CSSContentDistributionValue.h"
#include "core/css/CSSCounterValue.h"
@@ -109,8 +108,6 @@ bool CSSValue::equals(const CSSValue& other) const
return compareCSSValues<CSSBasicShapeInsetValue>(*this, other);
case BorderImageSliceClass:
return compareCSSValues<CSSBorderImageSliceValue>(*this, other);
- case CanvasClass:
- return compareCSSValues<CSSCanvasValue>(*this, other);
case ColorClass:
return compareCSSValues<CSSColorValue>(*this, other);
case CounterClass:
@@ -193,8 +190,6 @@ String CSSValue::cssText() const
return toCSSBasicShapeInsetValue(this)->customCSSText();
case BorderImageSliceClass:
return toCSSBorderImageSliceValue(this)->customCSSText();
- case CanvasClass:
- return toCSSCanvasValue(this)->customCSSText();
case ColorClass:
return toCSSColorValue(this)->customCSSText();
case CounterClass:
@@ -280,9 +275,6 @@ void CSSValue::destroy()
case BorderImageSliceClass:
delete toCSSBorderImageSliceValue(this);
return;
- case CanvasClass:
- delete toCSSCanvasValue(this);
- return;
case ColorClass:
delete toCSSColorValue(this);
return;
@@ -398,9 +390,6 @@ void CSSValue::finalizeGarbageCollectedObject()
case BorderImageSliceClass:
toCSSBorderImageSliceValue(this)->~CSSBorderImageSliceValue();
return;
- case CanvasClass:
- toCSSCanvasValue(this)->~CSSCanvasValue();
- return;
case ColorClass:
toCSSColorValue(this)->~CSSColorValue();
return;
@@ -516,9 +505,6 @@ DEFINE_TRACE(CSSValue)
case BorderImageSliceClass:
toCSSBorderImageSliceValue(this)->traceAfterDispatch(visitor);
return;
- case CanvasClass:
- toCSSCanvasValue(this)->traceAfterDispatch(visitor);
- return;
case ColorClass:
toCSSColorValue(this)->traceAfterDispatch(visitor);
return;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.h ('k') | third_party/WebKit/Source/core/css/CSSValueKeywords.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698