Index: third_party/WebKit/Source/modules/accessibility/AXSpinButton.h |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXSpinButton.h b/third_party/WebKit/Source/modules/accessibility/AXSpinButton.h |
index dd095c1c3dc26e46c03d012ce4863fd6c14daeaa..c5a515a54c3d3d785fb7058e31572506b2660aed 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXSpinButton.h |
+++ b/third_party/WebKit/Source/modules/accessibility/AXSpinButton.h |
@@ -52,7 +52,7 @@ private: |
bool isSpinButton() const override { return true; } |
bool isNativeSpinButton() const override { return true; } |
void addChildren() override; |
- LayoutRect elementRect() const override; |
+ LayoutObject* layoutObjectForRelativeBounds() const override; |
void detach() override; |
void detachFromParent() override; |
@@ -72,7 +72,7 @@ private: |
bool press() const override; |
AccessibilityRole roleValue() const override { return ButtonRole; } |
bool isSpinButtonPart() const override { return true; } |
- LayoutRect elementRect() const override; |
+ void getRelativeBounds(AXObject** outContainer, FloatRect& outBoundsInContainer, SkMatrix44& outContainerTransform) const override; |
}; |
DEFINE_AX_OBJECT_TYPE_CASTS(AXSpinButton, isNativeSpinButton()); |