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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.cpp

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/public/V8Inspector.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.cpp b/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.cpp
index 96223c967a4ec1d3814fd5bb3e73bf1c6127700d..9f3ddf063a00b3821e6e150fd912d77dbe7be74b 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.cpp
@@ -63,7 +63,7 @@ bool V8Inspector::formatAccessorsAsProperties(v8::Local<v8::Value> value)
void V8Inspector::connectFrontend(protocol::FrontendChannel* channel)
{
DCHECK(!m_frontend);
- m_frontend = adoptPtr(new protocol::Frontend(channel));
+ m_frontend = wrapUnique(new protocol::Frontend(channel));
m_dispatcher = protocol::Dispatcher::create(channel);
m_dispatcher->registerAgent(m_session->runtimeAgent());

Powered by Google App Engine
This is Rietveld 408576698