Index: third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
index 651b6ce35eee51cbd9b74f6c3dfc653d6347a637..8a4228a319443f56019c17e6f4859e6697cc52ac 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
@@ -411,6 +411,7 @@ InspectorResourceAgent::~InspectorResourceAgent() |
DEFINE_TRACE(InspectorResourceAgent) |
{ |
+ visitor->trace(m_resourcesData); |
visitor->trace(m_replayXHRs); |
visitor->trace(m_replayXHRsToBeDeleted); |
visitor->trace(m_pendingXHRReplayData); |
@@ -1091,7 +1092,7 @@ void InspectorResourceAgent::removeFinishedReplayXHRFired(Timer<InspectorResourc |
InspectorResourceAgent::InspectorResourceAgent(InspectedFrames* inspectedFrames) |
: InspectorBaseAgent<InspectorResourceAgent, InspectorFrontend::Network>("Network") |
, m_inspectedFrames(inspectedFrames) |
- , m_resourcesData(adoptPtr(new NetworkResourcesData())) |
+ , m_resourcesData(NetworkResourcesData::create()) |
, m_pendingRequest(nullptr) |
, m_isRecalculatingStyle(false) |
, m_removeFinishedReplayXHRTimer(this, &InspectorResourceAgent::removeFinishedReplayXHRFired) |