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

Unified Diff: ash/devtools/ash_devtools_dom_agent.h

Issue 2902063004: View shows wrong bound when it is highlighted. (Closed)
Patch Set: . Created 3 years, 7 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
« no previous file with comments | « no previous file | ash/devtools/ash_devtools_unittest.cc » ('j') | ash/devtools/ash_devtools_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/devtools/ash_devtools_dom_agent.h
diff --git a/ash/devtools/ash_devtools_dom_agent.h b/ash/devtools/ash_devtools_dom_agent.h
index 91074fb1452c5cc60b6171821c8b172a82c646bf..4d49f320026d95b183a98a4a8f740a6990931a74 100644
--- a/ash/devtools/ash_devtools_dom_agent.h
+++ b/ash/devtools/ash_devtools_dom_agent.h
@@ -35,6 +35,9 @@ class ASH_EXPORT AshDevToolsDOMAgent
public:
AshDevToolsDOMAgent();
~AshDevToolsDOMAgent() override;
+ std::unordered_map<int, UIElement*>& node_id_to_ui_element() {
sadrul 2017/05/25 19:07:28 Make it const.
thanhph 2017/05/25 20:16:40 I removed this function.
+ return node_id_to_ui_element_;
+ }
// DOM::Backend:
ui::devtools::protocol::Response disable() override;
« no previous file with comments | « no previous file | ash/devtools/ash_devtools_unittest.cc » ('j') | ash/devtools/ash_devtools_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698