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

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

Powered by Google App Engine
This is Rietveld 408576698