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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/Parser.h

Issue 2004313003: DevTools: migrate from OwnPtr to std::unique_ptr for inspector protocol classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 7 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/inspector_protocol/Parser.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Parser.h b/third_party/WebKit/Source/platform/inspector_protocol/Parser.h
index 49f86aaf40d3f8f5ff73b317d20d107a1ef5a786..5f2f44bf6490d8ad3df233fcb5e3f4dc9b42c85c 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/Parser.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Parser.h
@@ -7,14 +7,14 @@
#include "platform/PlatformExport.h"
#include "platform/inspector_protocol/String16.h"
-#include "wtf/PassOwnPtr.h"
+#include "wtf/PtrUtil.h"
namespace blink {
namespace protocol {
class Value;
-PLATFORM_EXPORT PassOwnPtr<Value> parseJSON(const String16& json);
+PLATFORM_EXPORT std::unique_ptr<Value> parseJSON(const String16& json);
} // namespace platform
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698