| Index: third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
|
| index 7b0b815980ed46c25e66adccb946ad5bc9bd17cf..499333d9726638cd4369921d6064d036c5770b7e 100644
|
| --- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
|
| +++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
|
| @@ -58,10 +58,10 @@ LayoutSize StyleGeneratedImage::imageSize(const LayoutObject* layoutObject, floa
|
|
|
| // Don't let images that have a width/height >= 1 shrink below 1 when zoomed.
|
| if (fixedSize.width() > 0)
|
| - width = max<LayoutUnit>(1, width);
|
| + width = max(LayoutUnit(1), width);
|
|
|
| if (fixedSize.height() > 0)
|
| - height = max<LayoutUnit>(1, height);
|
| + height = max(LayoutUnit(1), height);
|
|
|
| return LayoutSize(width, height);
|
| }
|
|
|