| 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())
|
|
|