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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutMenuList.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/layout/LayoutMenuList.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
index b61f73cdce319771da30e544d7ffba76b093f437..1e210c4bf3559caae4f3e7d5ae6361d6f53ce8ab 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
@@ -99,9 +99,10 @@ void LayoutMenuList::AdjustInnerStyle() {
Length padding_start = Length(
LayoutTheme::GetTheme().PopupInternalPaddingStart(StyleRef()), kFixed);
- Length padding_end = Length(LayoutTheme::GetTheme().PopupInternalPaddingEnd(
- GetFrameView()->GetHostWindow(), StyleRef()),
- kFixed);
+ Length padding_end =
+ Length(LayoutTheme::GetTheme().PopupInternalPaddingEnd(
+ GetFrameView()->GetChromeClient(), StyleRef()),
+ kFixed);
inner_style.SetPaddingLeft(StyleRef().Direction() == TextDirection::kLtr
? padding_start
: padding_end);
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698