| Index: Source/core/rendering/shapes/ShapeOutsideInfo.cpp
|
| diff --git a/Source/core/rendering/shapes/ShapeOutsideInfo.cpp b/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
|
| index 81bae101e3385ce8671fecbda285b9393ac73a62..725a3b5aff3a8615ccbc8c79d70a7140bb570767 100644
|
| --- a/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
|
| +++ b/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
|
| @@ -111,7 +111,7 @@ static bool isValidRasterShapeRect(const LayoutRect& rect)
|
| static double maxImageSizeBytes = 0;
|
| if (!maxImageSizeBytes) {
|
| size_t size32MaxBytes = 0xFFFFFFFF / 4; // Some platforms don't limit maxDecodedImageBytes.
|
| - maxImageSizeBytes = std::min(size32MaxBytes, blink::Platform::current()->maxDecodedImageBytes());
|
| + maxImageSizeBytes = std::min(size32MaxBytes, Platform::current()->maxDecodedImageBytes());
|
| }
|
| return (rect.width().toFloat() * rect.height().toFloat() * 4.0) < maxImageSizeBytes;
|
| }
|
| @@ -347,4 +347,4 @@ FloatSize ShapeOutsideInfo::shapeToRendererSize(FloatSize size) const
|
| return size;
|
| }
|
|
|
| -}
|
| +} // namespace blink
|
|
|