Index: chrome/installer/setup/setup_util_unittest.cc |
diff --git a/chrome/installer/setup/setup_util_unittest.cc b/chrome/installer/setup/setup_util_unittest.cc |
index 44af7fc7c8302905bb33187e1fb0f74749272a63..e0f87ae69d473e734ff6f27d70b8ce1e5de07646 100644 |
--- a/chrome/installer/setup/setup_util_unittest.cc |
+++ b/chrome/installer/setup/setup_util_unittest.cc |
@@ -86,8 +86,7 @@ TEST_F(SetupUtilTest, GetInstallPreferencesTest) { |
cmd_str.append(L" --create-all-shortcuts"); |
cmd_str.append(L" --do-not-launch-chrome"); |
cmd_str.append(L" --alt-desktop-shortcut"); |
- CommandLine cmd_line(L""); |
- cmd_line.ParseFromString(cmd_str); |
+ CommandLine cmd_line = CommandLine::FromString(cmd_str); |
scoped_ptr<DictionaryValue> prefs( |
setup_util::GetInstallPreferences(cmd_line)); |
EXPECT_TRUE(prefs.get() != NULL); |