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

Unified Diff: Source/WebCore/inspector/InspectorController.cpp

Issue 7062044: Merge 86507 - 2011-05-15 Ilya Tikhonovsky <loislo@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 7 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/WebCore/inspector/InspectorController.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/InspectorController.cpp
===================================================================
--- Source/WebCore/inspector/InspectorController.cpp (revision 87486)
+++ Source/WebCore/inspector/InspectorController.cpp (working copy)
@@ -112,7 +112,7 @@
InspectorInstrumentation::frontendCreated();
ASSERT(m_inspectorClient);
- m_inspectorBackendDispatcher = new InspectorBackendDispatcher(
+ m_inspectorBackendDispatcher = adoptRef(new InspectorBackendDispatcher(
m_inspectorClient,
#if ENABLE(OFFLINE_WEB_APPLICATIONS)
m_inspectorAgent->applicationCacheAgent(),
@@ -138,7 +138,7 @@
m_inspectorAgent->profilerAgent(),
#endif
m_inspectorAgent->runtimeAgent(),
- m_inspectorAgent->timelineAgent());
+ m_inspectorAgent->timelineAgent()));
if (m_startUserInitiatedDebuggingWhenFrontedIsConnected) {
m_inspectorFrontend->inspector()->startUserInitiatedDebugging();
@@ -150,6 +150,7 @@
{
if (!m_inspectorFrontend)
return;
+ m_inspectorBackendDispatcher->clearFrontend();
m_inspectorBackendDispatcher.clear();
m_inspectorAgent->disconnectFrontend();
« no previous file with comments | « Source/WebCore/inspector/InspectorController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698