| 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 b69bf78748a0bc62f544bc00393323ff0a2b6cdc..4c55812d0f7061680bf7722459aa2fd9a45eb945 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
|
| @@ -242,7 +242,7 @@ InspectorHighlight::InspectorHighlight(Node* node, const InspectorHighlightConfi
|
| {
|
| FrameView* frameView = node->document().view();
|
| if (frameView)
|
| - m_scale = 1.f / frameView->getHostWindow()->windowToViewportScalar(1.f);
|
| + m_scale = 1.f / frameView->getHostWindow()->windowToViewportScalar(*frameView, 1.f);
|
| appendPathsForShapeOutside(node, highlightConfig);
|
| appendNodeHighlight(node, highlightConfig);
|
| if (appendElementInfo && node->isElementNode())
|
|
|