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

Unified Diff: Source/core/rendering/exclusions/ExclusionRectangle.cpp

Issue 14959014: [CSS Exclusions] Programmatic layout tests fail when subpixel layout is disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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
Index: Source/core/rendering/exclusions/ExclusionRectangle.cpp
diff --git a/Source/core/rendering/exclusions/ExclusionRectangle.cpp b/Source/core/rendering/exclusions/ExclusionRectangle.cpp
index 333958cad11b9a70fd42da5efc1d906f15e18c41..3ff3241b3b00f0470f3a4d92c3bc0712c303e2b0 100644
--- a/Source/core/rendering/exclusions/ExclusionRectangle.cpp
+++ b/Source/core/rendering/exclusions/ExclusionRectangle.cpp
@@ -213,7 +213,7 @@ bool ExclusionRectangle::firstIncludedIntervalLogicalTop(LayoutUnit minLogicalIn
return true;
}
if (minIntervalHeight < bounds.height() - (2 * cornerIntercept.y())) {
- result = LayoutUnit::fromFloatCeil(bounds.y() + cornerIntercept.y());
+ result = ceiledLayoutUnit(bounds.y() + cornerIntercept.y());
leviw_travelin_and_unemployed 2013/05/21 22:21:56 Avoid this churn since this makes no change. I'll
return true;
}
}

Powered by Google App Engine
This is Rietveld 408576698