Index: third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h |
diff --git a/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h b/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h |
index d659708b61d9cbfc82a9bfdd9d92a9834cd83553..2cb3a6ff577b6995e0472e2f24ddeee6808e76ce 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h |
+++ b/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.h |
@@ -78,7 +78,7 @@ private: |
void detachLayoutTree(const AttachContext&) override; |
bool isSpinButtonElement() const override { return true; } |
- bool isDisabledFormControl() const override { return shadowHost() && shadowHost()->isDisabledFormControl(); } |
+ bool isDisabledFormControl() const override { return ownerShadowHost() && ownerShadowHost()->isDisabledFormControl(); } |
bool matchesReadOnlyPseudoClass() const override; |
bool matchesReadWritePseudoClass() const override; |
void defaultEventHandler(Event*) override; |