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

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

Issue 2824753005: Rename HostWindow to PlatformChromeClient (Closed)
Patch Set: mac Created 3 years, 8 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 b3d37907954838d4f3604ddde0f9c755231a2cc8..0cf2f4ec34a3bba0a6e4d0ec0c4fb99db66f41e8 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
+++ b/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp
@@ -290,7 +290,7 @@ void ThemePainterDefault::SetupMenuListArrow(
extra_params.menu_list.arrow_y = middle;
float arrow_box_width = theme_.ClampedMenuListArrowPaddingSize(
- box.GetFrameView()->GetHostWindow(), box.StyleRef());
+ box.GetFrameView()->GetChromeClient(), box.StyleRef());
float arrow_scale_factor = arrow_box_width / theme_.MenuListArrowWidthInDIP();
if (UseMockTheme()) {
// The size and position of the drop-down button is different between
« no previous file with comments | « third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698