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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorHighlight.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/inspector/InspectorHighlight.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
index 4565010fa8f2f39171dc5f6c39d00a5f110ff126..fc3d16bcd10dfb136b1e5dbc3d501c476d0120b1 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
@@ -12,7 +12,7 @@
#include "core/layout/LayoutObject.h"
#include "core/layout/shapes/ShapeOutsideInfo.h"
#include "core/style/ComputedStyleConstants.h"
-#include "platform/HostWindow.h"
+#include "platform/PlatformChromeClient.h"
#include "platform/graphics/Path.h"
namespace blink {
@@ -253,7 +253,7 @@ InspectorHighlight::InspectorHighlight(
scale_(1.f) {
FrameView* frame_view = node->GetDocument().View();
if (frame_view)
- scale_ = 1.f / frame_view->GetHostWindow()->WindowToViewportScalar(1.f);
+ scale_ = 1.f / frame_view->GetChromeClient()->WindowToViewportScalar(1.f);
AppendPathsForShapeOutside(node, highlight_config);
AppendNodeHighlight(node, highlight_config);
if (append_element_info && node->IsElementNode())
« no previous file with comments | « third_party/WebKit/Source/core/inspector/DevToolsHost.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutMenuList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698