Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
index 790230a9e380d6d515173442c5798280b9f69204..f55a8a7650aa9d1332c67d87ad3d3b76700dc171 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -513,8 +513,8 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject { |
// IE extensions. Used to calculate offsetWidth/Height. Overridden by inlines |
// (LayoutFlow) to return the remaining width on a given line (and the height |
// of a single line). |
- LayoutUnit offsetWidth() const override { return m_frameRect.width(); } |
- LayoutUnit offsetHeight() const override { return m_frameRect.height(); } |
+ LayoutUnit offsetWidth() const final { return m_frameRect.width(); } |
+ LayoutUnit offsetHeight() const final { return m_frameRect.height(); } |
int pixelSnappedOffsetWidth(const Element*) const final; |
int pixelSnappedOffsetHeight(const Element*) const final; |
@@ -1138,8 +1138,8 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject { |
LineDirectionMode, |
LinePositionMode = PositionOnContainingLine) const override; |
- LayoutUnit offsetLeft(const Element*) const override; |
- LayoutUnit offsetTop(const Element*) const override; |
+ LayoutUnit offsetLeft(const Element*) const final; |
+ LayoutUnit offsetTop(const Element*) const final; |
LayoutPoint flipForWritingModeForChild(const LayoutBox* child, |
const LayoutPoint&) const; |