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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 6 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
Index: Source/core/inspector/InspectorResourceAgent.cpp
diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp
index c0a886b5457ee3545a02aff620db9128044ef3ae..db58d30f41ea2a9401669ef97f57b093d5348f24 100644
--- a/Source/core/inspector/InspectorResourceAgent.cpp
+++ b/Source/core/inspector/InspectorResourceAgent.cpp
@@ -286,11 +286,19 @@ static PassRefPtr<TypeBuilder::Network::Response> buildObjectForResourceResponse
InspectorResourceAgent::~InspectorResourceAgent()
{
+#if !ENABLE(OILPAN)
if (m_state->getBoolean(ResourceAgentState::resourceAgentEnabled)) {
haraken 2014/06/17 14:06:17 Removing the line 290 - 294 is fine in oilpan buil
ErrorString error;
disable(&error);
}
ASSERT(!m_instrumentingAgents->inspectorResourceAgent());
+#endif
+}
+
+void InspectorResourceAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_pageAgent);
+ InspectorBaseAgent::trace(visitor);
}
void InspectorResourceAgent::willSendRequest(unsigned long identifier, DocumentLoader* loader, ResourceRequest& request, const ResourceResponse& redirectResponse, const FetchInitiatorInfo& initiatorInfo)

Powered by Google App Engine
This is Rietveld 408576698