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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/platform/EventTracer.h
diff --git a/third_party/WebKit/Source/platform/EventTracer.h b/third_party/WebKit/Source/platform/EventTracer.h
index 2b1f9c14457071b36e4cb0d56a0bc046cd258a20..4f896619f4705a903bd34c18ed1caec8dff14e24 100644
--- a/third_party/WebKit/Source/platform/EventTracer.h
+++ b/third_party/WebKit/Source/platform/EventTracer.h
@@ -33,7 +33,9 @@
#include "platform/PlatformExport.h"
#include "wtf/Allocator.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/text/WTFString.h"
+
#include <memory>
#include <stdint.h>
@@ -76,8 +78,8 @@ public:
const char* argNames[],
const unsigned char argTypes[],
const unsigned long long argValues[],
- std::unique_ptr<TracedValue>,
- std::unique_ptr<TracedValue>,
+ PassOwnPtr<TracedValue>,
+ PassOwnPtr<TracedValue>,
unsigned flags);
static TraceEvent::TraceEventHandle addTraceEvent(char phase,
const unsigned char* categoryEnabledFlag,
« no previous file with comments | « third_party/WebKit/Source/platform/DragImageTest.cpp ('k') | third_party/WebKit/Source/platform/EventTracer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698