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

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

Issue 1436793002: Oilpan: move NetworkResourcesData to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: non-oilpan compile fix Created 5 years, 1 month 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: 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)

Powered by Google App Engine
This is Rietveld 408576698