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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.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/v8_inspector/V8ProfilerAgentImpl.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
index ef208d9b04c1dd9236513033cd733c3f224aae8f..54fe0b04ed37aa0d457117d9b81b8f1f6476c6db 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.h
@@ -31,7 +31,7 @@ public:
void disable(ErrorString*) override;
void setSamplingInterval(ErrorString*, int) override;
void start(ErrorString*) override;
- void stop(ErrorString*, OwnPtr<protocol::Profiler::CPUProfile>*) override;
+ void stop(ErrorString*, std::unique_ptr<protocol::Profiler::CPUProfile>*) override;
void consoleProfile(const String16& title);
void consoleProfileEnd(const String16& title);
@@ -40,7 +40,7 @@ private:
String16 nextProfileId();
void startProfiling(const String16& title);
- PassOwnPtr<protocol::Profiler::CPUProfile> stopProfiling(const String16& title, bool serialize);
+ std::unique_ptr<protocol::Profiler::CPUProfile> stopProfiling(const String16& title, bool serialize);
bool isRecording() const;

Powered by Google App Engine
This is Rietveld 408576698