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

Unified Diff: third_party/WebKit/Source/platform/LengthFunctions.cpp

Issue 1420303002: Remove support for intrinsic and min-intrinsic (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
« no previous file with comments | « third_party/WebKit/Source/platform/Length.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/LengthFunctions.cpp
diff --git a/third_party/WebKit/Source/platform/LengthFunctions.cpp b/third_party/WebKit/Source/platform/LengthFunctions.cpp
index 5894d0bb406376173c56cdd6f0282e87501b1ea4..7b19efefbe2e5537e4d5912f13c03a6c172dfda1 100644
--- a/third_party/WebKit/Source/platform/LengthFunctions.cpp
+++ b/third_party/WebKit/Source/platform/LengthFunctions.cpp
@@ -46,8 +46,6 @@ float floatValueForLength(const Length& length, float maximumValue)
return static_cast<float>(maximumValue);
case Calculated:
return length.nonNanCalculatedValue(maximumValue);
- case Intrinsic:
- case MinIntrinsic:
case MinContent:
case MaxContent:
case FitContent:
@@ -75,8 +73,6 @@ LayoutUnit minimumValueForLength(const Length& length, LayoutUnit maximumValue)
case FillAvailable:
case Auto:
return 0;
- case Intrinsic:
- case MinIntrinsic:
case MinContent:
case MaxContent:
case FitContent:
@@ -108,8 +104,6 @@ LayoutUnit valueForLength(const Length& length, LayoutUnit maximumValue)
case FillAvailable:
case Auto:
return maximumValue;
- case Intrinsic:
- case MinIntrinsic:
case MinContent:
case MaxContent:
case FitContent:
« no previous file with comments | « third_party/WebKit/Source/platform/Length.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698