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

Unified Diff: Source/core/inspector/InspectorResourceContentLoader.cpp

Issue 527183002: Oilpan: Prepare moving InspectorResourceContentLoader to Oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/core/inspector/InspectorResourceContentLoader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorResourceContentLoader.cpp
diff --git a/Source/core/inspector/InspectorResourceContentLoader.cpp b/Source/core/inspector/InspectorResourceContentLoader.cpp
index 316a62951ff990fea3b655f68352b5b626903e80..cc8a1f519c65e9c93b64f78626296e65a601ab60 100644
--- a/Source/core/inspector/InspectorResourceContentLoader.cpp
+++ b/Source/core/inspector/InspectorResourceContentLoader.cpp
@@ -155,6 +155,17 @@ void InspectorResourceContentLoader::ensureResourcesContentLoaded(PassOwnPtrWill
InspectorResourceContentLoader::~InspectorResourceContentLoader()
{
+ ASSERT(m_resources.isEmpty());
+}
+
+void InspectorResourceContentLoader::trace(Visitor* visitor)
+{
+ visitor->trace(m_callbacks);
+ visitor->trace(m_page);
+}
+
+void InspectorResourceContentLoader::dispose()
+{
stop();
}
« no previous file with comments | « Source/core/inspector/InspectorResourceContentLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698