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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseResource.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/modules/webdatabase/InspectorDatabaseResource.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseResource.cpp b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseResource.cpp
index fdc4ac00d68fa933a6c16e79cbcd563eb7abd6d3..84f18d1e9764dd09dda9d9474d215ee53da11bee 100644
--- a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseResource.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseResource.cpp
@@ -57,7 +57,7 @@ DEFINE_TRACE(InspectorDatabaseResource)
void InspectorDatabaseResource::bind(protocol::Frontend::Database* frontend)
{
- OwnPtr<protocol::Database::Database> jsonObject = protocol::Database::Database::create()
+ std::unique_ptr<protocol::Database::Database> jsonObject = protocol::Database::Database::create()
.setId(m_id)
.setDomain(m_domain)
.setName(m_name)

Powered by Google App Engine
This is Rietveld 408576698