Index: chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc |
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc |
index 3d9977d635a1d283056997f6f3f4cbb47d2b6775..29b91ffb7be7255fee5d61f82100c73c5a2433b0 100644 |
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc |
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc |
@@ -62,7 +62,7 @@ bool IsOwnerInTests(const std::string& user_id) { |
const base::Value* value = CrosSettings::Get()->GetPref(kDeviceOwner); |
if (!value || value->GetType() != base::Value::Type::STRING) |
return false; |
- return static_cast<const base::StringValue*>(value)->GetString() == user_id; |
+ return static_cast<const base::Value*>(value)->GetString() == user_id; |
} |
void LoadPrivateKeyByPublicKey( |