| Index: Source/web/WebDevToolsAgentImpl.cpp
|
| diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
|
| index 30856a69139a0004cea1cac5ca0c6f4835a09810..29d8936cef850d876cd3b5d52dcd64a1793ab4a8 100644
|
| --- a/Source/web/WebDevToolsAgentImpl.cpp
|
| +++ b/Source/web/WebDevToolsAgentImpl.cpp
|
| @@ -240,10 +240,9 @@
|
| if (m_attached)
|
| return;
|
|
|
| - // Set the attached bit first so that sync notifications were delivered.
|
| - m_attached = true;
|
| inspectorController()->connectFrontend(hostId, this);
|
| Platform::current()->currentThread()->addTaskObserver(this);
|
| + m_attached = true;
|
| }
|
|
|
| void WebDevToolsAgentImpl::reattach(const WebString& hostId, const WebString& savedState)
|
| @@ -251,10 +250,9 @@
|
| if (m_attached)
|
| return;
|
|
|
| - // Set the attached bit first so that sync notifications were delivered.
|
| - m_attached = true;
|
| inspectorController()->reuseFrontend(hostId, this, savedState);
|
| Platform::current()->currentThread()->addTaskObserver(this);
|
| + m_attached = true;
|
| }
|
|
|
| void WebDevToolsAgentImpl::detach()
|
|
|