Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
index f3bbba22fa1f1c0224c2e53f9bd58a47d48c77a9..cd43aa2046fa7ecff24dcddb274edcacafd41ba7 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
@@ -286,6 +286,11 @@ class CORE_EXPORT LayoutBoxModelObject : public LayoutObject { |
LayoutUnit BorderWidth() const { return BorderLeft() + BorderRight(); } |
LayoutUnit BorderHeight() const { return BorderTop() + BorderBottom(); } |
+ virtual LayoutRectOutsets BorderBoxOutsets() const { |
+ return LayoutRectOutsets(BorderTop(), BorderRight(), BorderBottom(), |
+ BorderLeft()); |
+ } |
+ |
// Insets from the border box to the inside of the border. |
LayoutRectOutsets BorderInsets() const { |
return LayoutRectOutsets(-BorderTop(), -BorderRight(), -BorderBottom(), |