Index: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc |
diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc |
index 063ba5e3bc3610b8e2dae62c279260097718a917..e03d85c9f2a59f2aeae554a2b75950bb45458a9d 100644 |
--- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc |
+++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc |
@@ -552,9 +552,9 @@ TEST_F(CloudPrintProxyPolicyStartupTest, StartBrowserWithoutPolicy) { |
SetTestingFactory(profile, CloudPrintProxyServiceFactoryForPolicyTest); |
TestingPrefServiceSyncable* prefs = profile->GetTestingPrefService(); |
- prefs->SetUserPref(prefs::kCloudPrintEmail, |
- base::Value::CreateStringValue( |
- MockServiceIPCServer::EnabledUserId())); |
+ prefs->SetUserPref( |
+ prefs::kCloudPrintEmail, |
+ new base::StringValue(MockServiceIPCServer::EnabledUserId())); |
CommandLine command_line(CommandLine::NO_PROGRAM); |
command_line.AppendSwitch(switches::kCheckCloudPrintConnectorPolicy); |
@@ -600,9 +600,9 @@ TEST_F(CloudPrintProxyPolicyStartupTest, StartBrowserWithPolicy) { |
SetTestingFactory(profile, CloudPrintProxyServiceFactoryForPolicyTest); |
TestingPrefServiceSyncable* prefs = profile->GetTestingPrefService(); |
- prefs->SetUserPref(prefs::kCloudPrintEmail, |
- base::Value::CreateStringValue( |
- MockServiceIPCServer::EnabledUserId())); |
+ prefs->SetUserPref( |
+ prefs::kCloudPrintEmail, |
+ new base::StringValue(MockServiceIPCServer::EnabledUserId())); |
prefs->SetManagedPref(prefs::kCloudPrintProxyEnabled, |
new base::FundamentalValue(false)); |