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

Unified Diff: third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.h

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
Index: third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.h
diff --git a/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.h b/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.h
index 418f0e6691505eb5b36305e20fd23c894fb80d44..35ed61f5799e8f7eef91d47118d1c4e25df0dfb2 100644
--- a/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.h
+++ b/third_party/WebKit/Source/modules/websockets/InspectorWebSocketEvents.h
@@ -11,6 +11,7 @@
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/Functional.h"
+#include <memory>
namespace blink {
@@ -20,13 +21,13 @@ class KURL;
class InspectorWebSocketCreateEvent {
STATIC_ONLY(InspectorWebSocketCreateEvent);
public:
- static PassOwnPtr<TracedValue> data(Document*, unsigned long identifier, const KURL&, const String& protocol);
+ static std::unique_ptr<TracedValue> data(Document*, unsigned long identifier, const KURL&, const String& protocol);
};
class InspectorWebSocketEvent {
STATIC_ONLY(InspectorWebSocketEvent);
public:
- static PassOwnPtr<TracedValue> data(Document*, unsigned long identifier);
+ static std::unique_ptr<TracedValue> data(Document*, unsigned long identifier);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698