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

Unified Diff: third_party/WebKit/Source/core/paint/ScrollableAreaPainter.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/ScrollableAreaPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp b/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp
index 67cd37d397dbf61f90d7de48809fd3a85699bc83..ef25cdf18f0f3b14ab1501373ec8c87a19ce42cb 100644
--- a/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ScrollableAreaPainter.cpp
@@ -13,7 +13,7 @@
#include "core/paint/PaintLayerScrollableArea.h"
#include "core/paint/ScrollbarPainter.h"
#include "core/paint/TransformRecorder.h"
-#include "platform/HostWindow.h"
+#include "platform/PlatformChromeClient.h"
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/GraphicsContextStateSaver.h"
#include "platform/graphics/paint/ClipRecorder.h"
@@ -77,7 +77,7 @@ void ScrollableAreaPainter::DrawPlatformResizerImage(
// value of 1 in the call for |windowToViewportScalar|. Since zoom-for-dsf is
// disabled on MAC, |windowToViewportScalar| will be a no-op on it.
float device_scale_factor =
- GetScrollableArea().GetHostWindow()->WindowToViewportScalar(
+ GetScrollableArea().GetChromeClient()->WindowToViewportScalar(
old_device_scale_factor);
RefPtr<Image> resize_corner_image;

Powered by Google App Engine
This is Rietveld 408576698