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

Unified Diff: third_party/WebKit/Source/platform/TracedValue.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/TracedValue.h
diff --git a/third_party/WebKit/Source/platform/TracedValue.h b/third_party/WebKit/Source/platform/TracedValue.h
index f3b315b00a1d1fc0bd6ca754c635ab305675fcb1..2423700ac916387f4a9dba2a91a930ad6a10081b 100644
--- a/third_party/WebKit/Source/platform/TracedValue.h
+++ b/third_party/WebKit/Source/platform/TracedValue.h
@@ -7,8 +7,8 @@
#include "base/memory/ref_counted.h"
#include "platform/EventTracer.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/text/WTFString.h"
-#include <memory>
namespace base {
namespace trace_event {
@@ -25,7 +25,7 @@ class PLATFORM_EXPORT TracedValue final {
public:
~TracedValue();
- static std::unique_ptr<TracedValue> create();
+ static PassOwnPtr<TracedValue> create();
void endDictionary();
void endArray();
« no previous file with comments | « third_party/WebKit/Source/platform/TraceEventCommon.h ('k') | third_party/WebKit/Source/platform/TracedValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698