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

Unified Diff: Source/web/InspectorFrontendClientImpl.cpp

Issue 415043003: Oilpan: Prepare moving InspectorFrontendHost to Oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved InspectorFrontendClient to heap Created 6 years, 5 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/web/InspectorFrontendClientImpl.h ('k') | Source/web/WebDevToolsFrontendImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/InspectorFrontendClientImpl.cpp
diff --git a/Source/web/InspectorFrontendClientImpl.cpp b/Source/web/InspectorFrontendClientImpl.cpp
index dec64f2ae13ef0385262df036f12230f2bab36bd..06d7454de5e4b0ca37562ab9a9e1ef240104eff0 100644
--- a/Source/web/InspectorFrontendClientImpl.cpp
+++ b/Source/web/InspectorFrontendClientImpl.cpp
@@ -54,11 +54,26 @@ InspectorFrontendClientImpl::InspectorFrontendClientImpl(Page* frontendPage, Web
InspectorFrontendClientImpl::~InspectorFrontendClientImpl()
{
+#if !ENABLE(OILPAN)
if (m_frontendHost)
m_frontendHost->disconnectClient();
+#endif
haraken 2014/07/25 01:05:02 Can we simply remove disconnectClient from ~Inspec
keishi 2014/07/25 01:36:34 Done.
m_client = 0;
}
+void InspectorFrontendClientImpl::trace(Visitor* visitor)
+{
+ visitor->trace(m_frontendPage);
+ visitor->trace(m_frontendHost);
+ InspectorFrontendClient::trace(visitor);
+}
+
+void InspectorFrontendClientImpl::dispose()
+{
+ if (m_frontendHost)
+ m_frontendHost->disconnectClient();
+}
+
void InspectorFrontendClientImpl::windowObjectCleared()
{
v8::Isolate* isolate = v8::Isolate::GetCurrent();
« no previous file with comments | « Source/web/InspectorFrontendClientImpl.h ('k') | Source/web/WebDevToolsFrontendImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698