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 c0998aaab9552a2387c21668dee8e2a4462c62e9..3dbc4dae82edfa7534bb018a38a527deba813aa0 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -300,8 +300,8 @@ public: |
// 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 final; |
int pixelSnappedOffsetHeight() const final; |
@@ -636,8 +636,8 @@ public: |
LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override; |
int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override; |
- LayoutUnit offsetLeft() const override; |
- LayoutUnit offsetTop() const override; |
+ LayoutUnit offsetLeft() const final; |
+ LayoutUnit offsetTop() const final; |
LayoutPoint flipForWritingModeForChild(const LayoutBox* child, const LayoutPoint&) const; |
LayoutUnit flipForWritingMode(LayoutUnit position) const WARN_UNUSED_RETURN { |