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

Unified Diff: chrome/browser/ui/webui/domain_reliability_internals_ui.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/domain_reliability_internals_ui.cc
diff --git a/chrome/browser/ui/webui/domain_reliability_internals_ui.cc b/chrome/browser/ui/webui/domain_reliability_internals_ui.cc
index 28f91643df4476e1e2c973f5adce9b48aee4ebcc..e3fbc0aba4cc9030e0159177cb208fe3ec8d16db 100644
--- a/chrome/browser/ui/webui/domain_reliability_internals_ui.cc
+++ b/chrome/browser/ui/webui/domain_reliability_internals_ui.cc
@@ -49,7 +49,7 @@ void DomainReliabilityInternalsUI::UpdateData(
if (!service) {
base::DictionaryValue* data = new base::DictionaryValue();
data->SetString("error", "no_service");
- OnDataUpdated(scoped_ptr<base::Value>(data));
+ OnDataUpdated(std::unique_ptr<base::Value>(data));
return;
}
@@ -59,7 +59,7 @@ void DomainReliabilityInternalsUI::UpdateData(
}
void DomainReliabilityInternalsUI::OnDataUpdated(
- scoped_ptr<base::Value> data) const {
+ std::unique_ptr<base::Value> data) const {
web_ui()->CallJavascriptFunction(
"DomainReliabilityInternals.onDataUpdated", *data);
}
« no previous file with comments | « chrome/browser/ui/webui/domain_reliability_internals_ui.h ('k') | chrome/browser/ui/webui/engagement/site_engagement_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698