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

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: plumb through frameview instead Created 4 years, 5 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..e1b1bedbcabc959aca3e290720e4edbd543b7e2b 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.h
@@ -46,7 +46,7 @@ class CORE_EXPORT InspectorHighlight {
STACK_ALLOCATED();
public:
InspectorHighlight(Node*, const InspectorHighlightConfig&, bool appendElementInfo);
- InspectorHighlight();
+ InspectorHighlight(float highlightScale);
dgozman 2016/07/07 00:30:09 style: explicit
Bret 2016/07/07 01:15:11 Done.
~InspectorHighlight();
static bool getBoxModel(Node*, std::unique_ptr<protocol::DOM::BoxModel>*);
@@ -67,6 +67,7 @@ private:
bool m_showRulers;
bool m_showExtensionLines;
bool m_displayAsMaterial;
+ float m_highlightScale;
dgozman 2016/07/07 00:30:10 Just m_scale. It's already a highlight object.
Bret 2016/07/07 01:15:11 Done. Changed in PathBuilder::appendPath and Shape
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698