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

Unified Diff: third_party/WebKit/Source/core/html/ImageDocument.cpp

Issue 2548783002: Fix for building with ancient toolchain (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698