| Index: third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp b/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
|
| index 9ccfd5c0772091a9075f23cdfa660fe040937771..a135ca7abb8d42bd35bb38473458c5b827d1aebd 100644
|
| --- a/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
|
| @@ -375,7 +375,7 @@ bool ThemePainterDefault::paintSearchFieldCancelButton(const LayoutObject& cance
|
| // Get the layoutObject of <input> element.
|
| if (!cancelButtonObject.node())
|
| return false;
|
| - Node* input = cancelButtonObject.node()->shadowHost();
|
| + Node* input = cancelButtonObject.node()->ownerShadowHost();
|
| const LayoutObject& baseLayoutObject = input ? *input->layoutObject() : cancelButtonObject;
|
| if (!baseLayoutObject.isBox())
|
| return false;
|
|
|