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

Unified Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 1206833003: Devtools[LayoutEditor]: Pass data about property change from InspectorOverlayPage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments Created 5 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
« no previous file with comments | « Source/web/InspectorOverlayImpl.cpp ('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 ec6e783c20b684303dc7e686d0601f96287005fc..38266e6597a5d11404e7ede6a8d6e24fdb600cf2 100644
--- a/Source/web/WebDevToolsAgentImpl.cpp
+++ b/Source/web/WebDevToolsAgentImpl.cpp
@@ -490,6 +490,7 @@ void WebDevToolsAgentImpl::attach(const WebString& hostId)
initializeDeferredAgents();
m_resourceAgent->setHostId(hostId);
+ m_overlay->setCSSAgent(m_cssAgent.get());
m_inspectorFrontend = adoptPtr(new InspectorFrontend(this));
// We can reconnect to existing front-end -> unmute state.
@@ -535,6 +536,7 @@ void WebDevToolsAgentImpl::detach()
m_overlay->clear();
InspectorInstrumentation::frontendDeleted();
InspectorInstrumentation::unregisterInstrumentingAgents(m_instrumentingAgents.get());
+ m_overlay->setCSSAgent(nullptr);
dgozman 2015/06/25 12:57:56 Let's do this before instrumentation calls.
sergeyv 2015/06/25 13:01:40 Done.
m_attached = false;
}
« no previous file with comments | « Source/web/InspectorOverlayImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698