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

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

Issue 55843002: Length type Relative is now unused. Remove it. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@length-relative-die-step-3-4
Patch Set: Created 7 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/CSSLengthFunctions.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValue.cpp
diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp
index 2bc98a8c0bd26ebcb57dc2b111c54bd88446a24e..9e9631ebfba3cfd3576c8ab8a58a29a9d9aba666 100644
--- a/Source/core/css/CSSPrimitiveValue.cpp
+++ b/Source/core/css/CSSPrimitiveValue.cpp
@@ -301,7 +301,6 @@ CSSPrimitiveValue::CSSPrimitiveValue(const Length& length, float zoom)
case Calculated:
init(CSSCalcValue::create(length.calculationValue(), zoom));
return;
- case Relative:
case Undefined:
ASSERT_NOT_REACHED();
break;
@@ -369,7 +368,6 @@ void CSSPrimitiveValue::init(const Length& length)
m_value.num = length.viewportPercentageLength();
break;
case Calculated:
- case Relative:
case Undefined:
ASSERT_NOT_REACHED();
break;
« no previous file with comments | « Source/core/css/CSSLengthFunctions.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698