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

Unified Diff: components/policy/core/common/registry_dict_win.cc

Issue 385373002: clang/win: Another followup to https://codereview.chromium.org/369303004/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/registry_dict_win.cc
diff --git a/components/policy/core/common/registry_dict_win.cc b/components/policy/core/common/registry_dict_win.cc
index 2da49002b84867fa26de75f674f67a61baf9df18..8e03fbc4f722f136739d4a4220f0746103c42914 100644
--- a/components/policy/core/common/registry_dict_win.cc
+++ b/components/policy/core/common/registry_dict_win.cc
@@ -318,7 +318,7 @@ scoped_ptr<base::Value> RegistryDict::ConvertToJSON(
if (converted)
result->SetWithoutPathExpansion(entry->first, converted.release());
}
- return result.Pass();
+ return result.PassAs<base::Value>();
}
case base::Value::TYPE_LIST: {
scoped_ptr<base::ListValue> result(new base::ListValue());
@@ -341,7 +341,7 @@ scoped_ptr<base::Value> RegistryDict::ConvertToJSON(
}
break;
}
- return result.Pass();
+ return result.PassAs<base::Value>();
}
default:
LOG(WARNING) << "Can't convert registry key to schema type " << type;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698