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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorHighlight.h

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/InspectorHighlight.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHighlight.h b/third_party/WebKit/Source/core/inspector/InspectorHighlight.h
index d8e1ef862ae087126c1c58a36b33484746970331..d70685c6c49cbbae717f15cbe66f42b218157010 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.h
@@ -45,7 +45,7 @@ public:
class CORE_EXPORT InspectorHighlight {
STACK_ALLOCATED();
public:
- InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElementInfo);
+ InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElementInfo, float windowToViewportScale);
InspectorHighlight();
~InspectorHighlight();
@@ -67,6 +67,8 @@ private:
bool m_showRulers;
bool m_showExtensionLines;
bool m_displayAsMaterial;
+
+ float m_windowToViewportScale;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698