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

Unified Diff: chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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: chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc b/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc
index 8938c69baed5a1b10bfcadbce9edefddbb083e9a..27ff16b2bdf96f47d54b2b163e69c4fac39e560e 100644
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_handler.cc
@@ -38,7 +38,7 @@ void QuotaInternalsHandler::ReportAvailableSpace(int64_t available_space) {
}
void QuotaInternalsHandler::ReportGlobalInfo(const GlobalStorageInfo& data) {
- scoped_ptr<base::Value> value(data.NewValue());
+ std::unique_ptr<base::Value> value(data.NewValue());
SendMessage("GlobalInfoUpdated", *value);
}
« no previous file with comments | « chrome/browser/ui/webui/profiler_ui.cc ('k') | chrome/browser/ui/webui/quota_internals/quota_internals_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698