| Index: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
| index f94adb1b7f11ee418c48eaddf77386326d31487b..2482f6f7baa310dbb8829bf01ab20329363d47af 100644
|
| --- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
| @@ -594,28 +594,21 @@ void WebDevToolsAgentImpl::resumeStartup()
|
| m_client->resumeStartup();
|
| }
|
|
|
| -void WebDevToolsAgentImpl::profilingStarted()
|
| -{
|
| - if (m_overlay)
|
| - m_overlay->suspend();
|
| -}
|
| -
|
| -void WebDevToolsAgentImpl::profilingStopped()
|
| -{
|
| - if (m_overlay)
|
| - m_overlay->resume();
|
| -}
|
| -
|
| void WebDevToolsAgentImpl::pageLayoutInvalidated(bool resized)
|
| {
|
| if (m_overlay)
|
| m_overlay->pageLayoutInvalidated(resized);
|
| }
|
|
|
| -void WebDevToolsAgentImpl::setPausedInDebuggerMessage(const String& message)
|
| +void WebDevToolsAgentImpl::configureOverlay(bool suspended, const String& message)
|
| {
|
| - if (m_overlay)
|
| - m_overlay->setPausedInDebuggerMessage(message);
|
| + if (!m_overlay)
|
| + return;
|
| + m_overlay->setPausedInDebuggerMessage(message);
|
| + if (suspended)
|
| + m_overlay->suspend();
|
| + else
|
| + m_overlay->resume();
|
| }
|
|
|
| void WebDevToolsAgentImpl::waitForCreateWindow(LocalFrame* frame)
|
|
|