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

Unified Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 1311783003: Devtools[LayoutEditor]: Rework layout-editor workflow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@resize
Patch Set: Created 5 years, 4 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
« Source/devtools/front_end/sdk/DOMModel.js ('K') | « Source/devtools/protocol.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDevToolsAgentImpl.cpp
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
index f53bd5aa9e30c43e6fa224509f56535180fd2339..30f395879abba3bdc1fa2971a92888974293070c 100644
--- a/Source/web/WebDevToolsAgentImpl.cpp
+++ b/Source/web/WebDevToolsAgentImpl.cpp
@@ -500,7 +500,7 @@ void WebDevToolsAgentImpl::attach(const WebString& hostId)
initializeDeferredAgents();
m_resourceAgent->setHostId(hostId);
- m_overlay->setLayoutEditor(LayoutEditor::create(m_cssAgent.get()));
+ m_overlay->setLayoutEditor(LayoutEditor::create(m_cssAgent.get(), m_domAgent.get()));
m_inspectorFrontend = adoptPtr(new InspectorFrontend(this));
// We can reconnect to existing front-end -> unmute state.
« Source/devtools/front_end/sdk/DOMModel.js ('K') | « Source/devtools/protocol.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698