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

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

Issue 647723002: Remove -webkit-aspect-ratio. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Forgot to remove webkitAspectRatio from virtual/stable. :( Created 6 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/CSSValue.h ('k') | Source/core/css/MediaQueryEvaluator.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 0929a674033793acad0d86da201c1fb9e79aa252..c04db5a9348c6783bb2a086b4c45f980c40245b7 100644
--- a/Source/core/css/CSSValue.cpp
+++ b/Source/core/css/CSSValue.cpp
@@ -27,7 +27,6 @@
#include "config.h"
#include "core/css/CSSValue.h"
-#include "core/css/CSSAspectRatioValue.h"
#include "core/css/CSSBorderImageSliceValue.h"
#include "core/css/CSSCalculationValue.h"
#include "core/css/CSSCanvasValue.h"
@@ -154,8 +153,6 @@ bool CSSValue::equals(const CSSValue& other) const
if (m_classType == other.m_classType) {
switch (m_classType) {
- case AspectRatioClass:
- return compareCSSValues<CSSAspectRatioValue>(*this, other);
case BorderImageSliceClass:
return compareCSSValues<CSSBorderImageSliceValue>(*this, other);
case CanvasClass:
@@ -232,8 +229,6 @@ String CSSValue::cssText() const
ASSERT(!isCSSOMSafe() || isSubtypeExposedToCSSOM());
switch (classType()) {
- case AspectRatioClass:
- return toCSSAspectRatioValue(this)->customCSSText();
case BorderImageSliceClass:
return toCSSBorderImageSliceValue(this)->customCSSText();
case CanvasClass:
@@ -305,9 +300,6 @@ void CSSValue::destroy()
ASSERT(!isCSSOMSafe() || isSubtypeExposedToCSSOM());
switch (classType()) {
- case AspectRatioClass:
- delete toCSSAspectRatioValue(this);
- return;
case BorderImageSliceClass:
delete toCSSBorderImageSliceValue(this);
return;
@@ -406,9 +398,6 @@ void CSSValue::finalizeGarbageCollectedObject()
ASSERT(!isCSSOMSafe() || isSubtypeExposedToCSSOM());
switch (classType()) {
- case AspectRatioClass:
- toCSSAspectRatioValue(this)->~CSSAspectRatioValue();
- return;
case BorderImageSliceClass:
toCSSBorderImageSliceValue(this)->~CSSBorderImageSliceValue();
return;
@@ -507,9 +496,6 @@ void CSSValue::trace(Visitor* visitor)
ASSERT(!isCSSOMSafe() || isSubtypeExposedToCSSOM());
switch (classType()) {
- case AspectRatioClass:
- toCSSAspectRatioValue(this)->traceAfterDispatch(visitor);
- return;
case BorderImageSliceClass:
toCSSBorderImageSliceValue(this)->traceAfterDispatch(visitor);
return;
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698