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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutBoxModel.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/LayoutBoxModel.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutBoxModel.h b/third_party/WebKit/Source/core/layout/api/LayoutBoxModel.h
index 6b6e34dd95c28d83db98953a1dc81d6903bc5f1b..706188738bd0fb96cfa1a6f2835453b9f0d8732f 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutBoxModel.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutBoxModel.h
@@ -31,9 +31,9 @@ class LayoutBoxModel : public LayoutItem {
return toBoxModel()->getScrollableArea();
}
- int borderTop() const { return toBoxModel()->borderTop(); }
+ LayoutUnit borderTop() const { return toBoxModel()->borderTop(); }
- int borderLeft() const { return toBoxModel()->borderLeft(); }
+ LayoutUnit borderLeft() const { return toBoxModel()->borderLeft(); }
LayoutUnit paddingTop() const { return toBoxModel()->paddingTop(); }

Powered by Google App Engine
This is Rietveld 408576698