| Index: Source/web/WebDevToolsAgentImpl.cpp
|
| diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
|
| index ec6e783c20b684303dc7e686d0601f96287005fc..233cd5a33eb816554d94eea5c55dce304a388950 100644
|
| --- a/Source/web/WebDevToolsAgentImpl.cpp
|
| +++ b/Source/web/WebDevToolsAgentImpl.cpp
|
| @@ -65,6 +65,7 @@
|
| #include "core/inspector/InspectorTracingAgent.h"
|
| #include "core/inspector/InspectorWorkerAgent.h"
|
| #include "core/inspector/InstrumentingAgents.h"
|
| +#include "core/inspector/LayoutEditor.h"
|
| #include "core/inspector/PageConsoleAgent.h"
|
| #include "core/inspector/PageDebuggerAgent.h"
|
| #include "core/inspector/PageRuntimeAgent.h"
|
| @@ -490,6 +491,7 @@ void WebDevToolsAgentImpl::attach(const WebString& hostId)
|
|
|
| initializeDeferredAgents();
|
| m_resourceAgent->setHostId(hostId);
|
| + m_overlay->setLayoutEditor(LayoutEditor::create(m_cssAgent.get()));
|
|
|
| m_inspectorFrontend = adoptPtr(new InspectorFrontend(this));
|
| // We can reconnect to existing front-end -> unmute state.
|
| @@ -533,6 +535,7 @@ void WebDevToolsAgentImpl::detach()
|
|
|
| // Release overlay resources.
|
| m_overlay->clear();
|
| + m_overlay->setLayoutEditor(nullptr);
|
| InspectorInstrumentation::frontendDeleted();
|
| InspectorInstrumentation::unregisterInstrumentingAgents(m_instrumentingAgents.get());
|
|
|
|
|