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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h

Issue 2640143005: Support subpixel layout for borders. (Closed)
Patch Set: Rebaselined tests. Created 3 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
Index: third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h b/third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h
index ed9d59558cf1d4e1578e8adcb3ace27c4ec3c6c0..47b4b47663d1457448f79439877a3a13e2798f9c 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutBoxModel.h
@@ -83,17 +83,17 @@ class LineLayoutBoxModel : public LineLayoutItem {
LayoutUnit paddingAfter() const { return toBoxModel()->paddingAfter(); }
- int borderTop() const { return toBoxModel()->borderTop(); }
+ LayoutUnit borderTop() const { return toBoxModel()->borderTop(); }
- int borderBottom() const { return toBoxModel()->borderBottom(); }
+ LayoutUnit borderBottom() const { return toBoxModel()->borderBottom(); }
- int borderLeft() const { return toBoxModel()->borderLeft(); }
+ LayoutUnit borderLeft() const { return toBoxModel()->borderLeft(); }
- int borderRight() const { return toBoxModel()->borderRight(); }
+ LayoutUnit borderRight() const { return toBoxModel()->borderRight(); }
- int borderBefore() const { return toBoxModel()->borderBefore(); }
+ LayoutUnit borderBefore() const { return toBoxModel()->borderBefore(); }
- int borderAfter() const { return toBoxModel()->borderAfter(); }
+ LayoutUnit borderAfter() const { return toBoxModel()->borderAfter(); }
LayoutSize relativePositionLogicalOffset() const {
return toBoxModel()->relativePositionLogicalOffset();

Powered by Google App Engine
This is Rietveld 408576698