Index: chrome/browser/prefs/command_line_pref_store_unittest.cc |
diff --git a/chrome/browser/prefs/command_line_pref_store_unittest.cc b/chrome/browser/prefs/command_line_pref_store_unittest.cc |
index 5d2c93930d9438ccb6b75a4d6a9c18eadafe6475..1e233838a011ca2de7671d4a1c0952b041951b8b 100644 |
--- a/chrome/browser/prefs/command_line_pref_store_unittest.cc |
+++ b/chrome/browser/prefs/command_line_pref_store_unittest.cc |
@@ -116,7 +116,7 @@ TEST(CommandLinePrefStoreTest, MultipleSwitches) { |
ASSERT_EQ(Value::TYPE_DICTIONARY, value->GetType()); |
ProxyConfigDictionary dict(static_cast<const DictionaryValue*>(value)); |
- std::string string_result = ""; |
+ std::string string_result; |
ASSERT_TRUE(dict.GetProxyServer(&string_result)); |
EXPECT_EQ("proxy", string_result); |
@@ -172,9 +172,9 @@ TEST(CommandLinePrefStoreTest, ManualProxyModeInference) { |
store2->VerifyProxyMode(ProxyPrefs::MODE_PAC_SCRIPT); |
CommandLine cl3(CommandLine::NO_PROGRAM); |
- cl3.AppendSwitchASCII(switches::kProxyServer, ""); |
+ cl3.AppendSwitchASCII(switches::kProxyServer, std::string()); |
scoped_refptr<TestCommandLinePrefStore> store3 = |
- new TestCommandLinePrefStore(&cl3); |
+ new TestCommandLinePrefStore(&cl3); |
store3->VerifyProxyMode(ProxyPrefs::MODE_DIRECT); |
} |