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

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

Issue 793713002: Oilpan: add missing tracing of InspectorTracingAgent objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/InspectorTracingAgent.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/InspectorTracingAgent.cpp
diff --git a/Source/core/inspector/InspectorTracingAgent.cpp b/Source/core/inspector/InspectorTracingAgent.cpp
index 384a2181addeb05cc70d82039e7f274792a64ea2..b6ae30ebe2e24764429e7d6bef5651adecf2dbf7 100644
--- a/Source/core/inspector/InspectorTracingAgent.cpp
+++ b/Source/core/inspector/InspectorTracingAgent.cpp
@@ -13,6 +13,7 @@
#include "core/inspector/InspectorState.h"
#include "core/inspector/InspectorTraceEvents.h"
#include "core/inspector/InspectorWorkerAgent.h"
+#include "core/page/Page.h"
#include "platform/TraceEvent.h"
namespace blink {
@@ -35,6 +36,13 @@ InspectorTracingAgent::InspectorTracingAgent(InspectorClient* client, InspectorW
{
}
+void InspectorTracingAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_workerAgent);
+ visitor->trace(m_page);
+ InspectorBaseAgent<InspectorTracingAgent>::trace(visitor);
+}
+
void InspectorTracingAgent::restore()
{
emitMetadataEvents();
« no previous file with comments | « Source/core/inspector/InspectorTracingAgent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698