Index: third_party/WebKit/Source/core/html/ImageDocument.cpp |
diff --git a/third_party/WebKit/Source/core/html/ImageDocument.cpp b/third_party/WebKit/Source/core/html/ImageDocument.cpp |
index 8485eecc4c54e0ba26ee12de69d8ed317b7808cc..6c7e24adb8e5f457301d8c1fb55ee7cbfdfcb751 100644 |
--- a/third_party/WebKit/Source/core/html/ImageDocument.cpp |
+++ b/third_party/WebKit/Source/core/html/ImageDocument.cpp |
@@ -399,7 +399,7 @@ void ImageDocument::updateImageStyle() { |
scale = viewportWidth / static_cast<double>(calculateDivWidth()); |
} |
- newCheckerSize = round(std::max(1.0, newCheckerSize / scale)); |
+ newCheckerSize = std::round(std::max(1.0, newCheckerSize / scale)); |
} else { |
// In desktop mode, the user can click on the image to zoom in or out. |
DCHECK_EQ(m_shrinkToFitMode, Desktop); |