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

Unified Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 201363002: DevTools: defer styles delta calculation to until the end of the task. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/devtools/front_end/StylesSidebarPane.js ('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 44305b61c853a28a67cf7da6f0fc1e535a46e0a1..63559b8ee17e0a00fd1cbc294121d2bc5602b92d 100644
--- a/Source/web/WebDevToolsAgentImpl.cpp
+++ b/Source/web/WebDevToolsAgentImpl.cpp
@@ -605,12 +605,16 @@ void WebDevToolsAgentImpl::evaluateInWebInspector(long callId, const WebString&
void WebDevToolsAgentImpl::willProcessTask()
{
+ if (!m_attached)
+ return;
if (InspectorController* ic = inspectorController())
ic->willProcessTask();
}
void WebDevToolsAgentImpl::didProcessTask()
{
+ if (!m_attached)
+ return;
if (InspectorController* ic = inspectorController())
ic->didProcessTask();
if (m_attached)
vsevik 2014/03/17 12:49:28 remove
« no previous file with comments | « Source/devtools/front_end/StylesSidebarPane.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698