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

Unified Diff: third_party/WebKit/Source/platform/EventTracer.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 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
« no previous file with comments | « third_party/WebKit/Source/platform/EventTracer.h ('k') | third_party/WebKit/Source/platform/PODArena.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/EventTracer.cpp
diff --git a/third_party/WebKit/Source/platform/EventTracer.cpp b/third_party/WebKit/Source/platform/EventTracer.cpp
index 6e6b3863c64d8913ee31f9da228f5c08ccf482a3..7e5d35ab3c860d39c4e99d707617eda3abd18a2e 100644
--- a/third_party/WebKit/Source/platform/EventTracer.cpp
+++ b/third_party/WebKit/Source/platform/EventTracer.cpp
@@ -37,6 +37,7 @@
#include "public/platform/Platform.h"
#include "wtf/Assertions.h"
#include "wtf/text/StringUTF8Adaptor.h"
+#include <memory>
#include <stdio.h>
namespace blink {
@@ -72,8 +73,8 @@ TraceEvent::TraceEventHandle EventTracer::addTraceEvent(char phase, const unsign
const char* name, const char* scope, unsigned long long id, unsigned long long bindId, double timestamp,
int numArgs, const char* argNames[], const unsigned char argTypes[],
const unsigned long long argValues[],
- PassOwnPtr<TracedValue> tracedValue1,
- PassOwnPtr<TracedValue> tracedValue2,
+ std::unique_ptr<TracedValue> tracedValue1,
+ std::unique_ptr<TracedValue> tracedValue2,
unsigned flags)
{
std::unique_ptr<base::trace_event::ConvertableToTraceFormat> convertables[2];
« no previous file with comments | « third_party/WebKit/Source/platform/EventTracer.h ('k') | third_party/WebKit/Source/platform/PODArena.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698