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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp

Issue 2108803006: Fix inspector overlay when use-zoom-for-dsf is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unnecessary include Created 4 years, 6 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/InspectorDOMAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
index 4c0625597344ef35fb138720c523486b79d4c37d..82dfdfd8d62b45a22c3cc8efbbe546a1ab8ab475 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
@@ -2039,7 +2039,7 @@ void InspectorDOMAgent::getHighlightObjectForTest(ErrorString* errorString, int
Node* node = assertNode(errorString, nodeId);
if (!node)
return;
- InspectorHighlight highlight(node, InspectorHighlight::defaultConfig(), true);
+ InspectorHighlight highlight(node, InspectorHighlight::defaultConfig(), true, 1.0f);
*result = highlight.asProtocolValue();
}

Powered by Google App Engine
This is Rietveld 408576698