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

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

Issue 1752213003: DevTools: migrate protocol dispatcher off RefPtr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 10 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: third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
index 31ab3dc3c8351b92cd36dc70d034678ef858e832..6d6a25cef00561a7bb4cec5c445b66f2edf666f4 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
@@ -48,7 +48,7 @@ void InspectorTracingAgent::start(ErrorString*,
const Maybe<String>& options,
const Maybe<double>& bufferUsageReportingInterval,
const Maybe<String>& transferMode,
- PassRefPtr<StartCallback> callback)
+ PassOwnPtr<StartCallback> callback)
{
ASSERT(sessionId().isEmpty());
m_state->setString(TracingAgentState::sessionId, IdentifiersFactory::createIdentifier());
@@ -57,7 +57,7 @@ void InspectorTracingAgent::start(ErrorString*,
callback->sendSuccess();
}
-void InspectorTracingAgent::end(ErrorString* errorString, PassRefPtr<EndCallback> callback)
+void InspectorTracingAgent::end(ErrorString* errorString, PassOwnPtr<EndCallback> callback)
{
m_client->disableTracing();
resetSessionId();

Powered by Google App Engine
This is Rietveld 408576698