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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPainter.cpp

Issue 1574933002: Changed type of border-width longhands from unsigned to float. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed test rebaselines, will add them to TestExpectations instead Created 4 years, 11 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: third_party/WebKit/Source/core/paint/BoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
index 8e4236f5cb195962ffd3b022ca1fc9ecaff40e42..1e94503911087f94695fc937d5d9c36712e3761b 100644
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
@@ -360,8 +360,8 @@ void BoxPainter::paintFillLayer(const LayoutBoxModelObject& obj, const PaintInfo
clipToBorder.emplace(obj, paintInfo, rect, border, ApplyToContext);
}
- int bLeft = includeLeftEdge ? obj.borderLeft() : 0;
- int bRight = includeRightEdge ? obj.borderRight() : 0;
+ int bLeft = includeLeftEdge ? obj.borderLeft().toInt() : 0;
leviw_travelin_and_unemployed 2016/02/02 02:20:18 Floor?
+ int bRight = includeRightEdge ? obj.borderRight().toInt() : 0;
LayoutUnit pLeft = includeLeftEdge ? obj.paddingLeft() : LayoutUnit();
LayoutUnit pRight = includeRightEdge ? obj.paddingRight() : LayoutUnit();

Powered by Google App Engine
This is Rietveld 408576698