Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Unified Diff: third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp

Issue 2327743002: Rename Node::shadowHost() to Node::ownerShadowHost() (Closed)
Patch Set: fix Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp ('k') | third_party/WebKit/Source/core/paint/ThemePainterMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698