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

Unified Diff: third_party/WebKit/Source/platform/geometry/TransformState.cpp

Issue 1660863002: Force all LayoutUnit construction to be explicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also fix LayoutRectTest.cpp Created 4 years, 10 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 | « third_party/WebKit/Source/platform/geometry/LayoutSize.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/geometry/TransformState.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/TransformState.cpp b/third_party/WebKit/Source/platform/geometry/TransformState.cpp
index d50b16d2fd5a7b5bf8219c20a52d5ab59dcd9335..9ec2073661391dd75f49b5aa40f7459213729c7b 100644
--- a/third_party/WebKit/Source/platform/geometry/TransformState.cpp
+++ b/third_party/WebKit/Source/platform/geometry/TransformState.cpp
@@ -109,7 +109,7 @@ void TransformState::applyTransform(const TransformationMatrix& transformFromCon
*wasClamped = false;
if (transformFromContainer.isIntegerTranslation()) {
- move(LayoutSize(transformFromContainer.e(), transformFromContainer.f()), accumulate);
+ move(LayoutSize(LayoutUnit(transformFromContainer.e()), LayoutUnit(transformFromContainer.f())), accumulate);
return;
}
« no previous file with comments | « third_party/WebKit/Source/platform/geometry/LayoutSize.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698