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; |