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

Unified Diff: Source/core/css/resolver/StyleBuilderConverter.cpp

Issue 1162593006: Fix crash when animating -webkit-{min,max}-content keyword (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « LayoutTests/animations/min-max-content-crash.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleBuilderConverter.cpp
diff --git a/Source/core/css/resolver/StyleBuilderConverter.cpp b/Source/core/css/resolver/StyleBuilderConverter.cpp
index 75b3a6c10977c0ee2f40c4b100cec5a181b02f35..613b864a22c1f6320298c834f4daff08e4f7a7a9 100644
--- a/Source/core/css/resolver/StyleBuilderConverter.cpp
+++ b/Source/core/css/resolver/StyleBuilderConverter.cpp
@@ -557,8 +557,10 @@ Length StyleBuilderConverter::convertLengthSizing(StyleResolverState& state, CSS
return Length(Intrinsic);
case CSSValueMinIntrinsic:
return Length(MinIntrinsic);
+ case CSSValueMinContent:
case CSSValueWebkitMinContent:
return Length(MinContent);
+ case CSSValueMaxContent:
case CSSValueWebkitMaxContent:
return Length(MaxContent);
case CSSValueWebkitFillAvailable:
« no previous file with comments | « LayoutTests/animations/min-max-content-crash.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698