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

Unified Diff: chrome/browser/ui/webui/nacl_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
« no previous file with comments | « chrome/browser/ui/webui/mojo_web_ui_controller.h ('k') | chrome/browser/ui/webui/net_export_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/nacl_ui.cc
diff --git a/chrome/browser/ui/webui/nacl_ui.cc b/chrome/browser/ui/webui/nacl_ui.cc
index 46171ff57dc1be99fe92f081a1eab8b89ba7fe0a..5af8ba573f90e1a6a99013425e910bb3cb109fe0 100644
--- a/chrome/browser/ui/webui/nacl_ui.cc
+++ b/chrome/browser/ui/webui/nacl_ui.cc
@@ -306,7 +306,7 @@ void NaClDomHandler::OnGotPlugins(
void NaClDomHandler::PopulatePageInformation(base::DictionaryValue* naclInfo) {
DCHECK(pnacl_path_validated_);
// Store Key-Value pairs of about-information.
- scoped_ptr<base::ListValue> list(new base::ListValue());
+ std::unique_ptr<base::ListValue> list(new base::ListValue());
// Display the operating system and chrome version information.
AddOperatingSystemInfo(list.get());
// Display the list of plugins serving NaCl.
@@ -332,7 +332,7 @@ void CheckVersion(const base::FilePath& pnacl_path, std::string* version) {
pnacl_path.AppendASCII("pnacl_public_pnacl_json");
JSONFileValueDeserializer deserializer(pnacl_json_path);
std::string error;
- scoped_ptr<base::Value> root = deserializer.Deserialize(NULL, &error);
+ std::unique_ptr<base::Value> root = deserializer.Deserialize(NULL, &error);
if (!root || !root->IsType(base::Value::TYPE_DICTIONARY))
return;
« no previous file with comments | « chrome/browser/ui/webui/mojo_web_ui_controller.h ('k') | chrome/browser/ui/webui/net_export_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698