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

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

Issue 19632002: Support 'extend-to-zoom' viewport descriptor value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed isExtendToZoom() Created 7 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/CSSValueKeywords.in ('k') | Source/core/css/resolver/ViewportStyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/LengthFunctions.cpp
diff --git a/Source/core/css/LengthFunctions.cpp b/Source/core/css/LengthFunctions.cpp
index 2f76efdd90268691c80cb60438b88e43b1fb4e3e..28c98deb6a0d5de3cc77dc8e05820f6097ddb4c4 100644
--- a/Source/core/css/LengthFunctions.cpp
+++ b/Source/core/css/LengthFunctions.cpp
@@ -81,6 +81,7 @@ LayoutUnit minimumValueForLength(const Length& length, LayoutUnit maximumValue,
case MinContent:
case MaxContent:
case FitContent:
+ case ExtendToZoom:
case Undefined:
ASSERT_NOT_REACHED();
return 0;
@@ -109,6 +110,7 @@ LayoutUnit valueForLength(const Length& length, LayoutUnit maximumValue, RenderV
case MinContent:
case MaxContent:
case FitContent:
+ case ExtendToZoom:
case Undefined:
ASSERT_NOT_REACHED();
return 0;
@@ -155,6 +157,7 @@ float floatValueForLength(const Length& length, float maximumValue, RenderView*
case MinContent:
case MaxContent:
case FitContent:
+ case ExtendToZoom:
case Undefined:
ASSERT_NOT_REACHED();
return 0;
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/resolver/ViewportStyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698