| Index: chrome/test/automation/proxy_launcher.cc
|
| diff --git a/chrome/test/automation/proxy_launcher.cc b/chrome/test/automation/proxy_launcher.cc
|
| index d30f21230a0f2251a20aeaf58dff311937950a7e..028849db60bcc84e0fa4a099db88f1140d3949ca 100644
|
| --- a/chrome/test/automation/proxy_launcher.cc
|
| +++ b/chrome/test/automation/proxy_launcher.cc
|
| @@ -161,7 +161,8 @@ void ProxyLauncher::CloseBrowserAndServer(ShutdownType shutdown_type) {
|
|
|
| void ProxyLauncher::LaunchBrowser(const LaunchState& state) {
|
| if (state.clear_profile || !temp_profile_dir_.IsValid()) {
|
| - temp_profile_dir_.Delete();
|
| + if (temp_profile_dir_.IsValid())
|
| + ASSERT_TRUE(temp_profile_dir_.Delete());
|
| ASSERT_TRUE(temp_profile_dir_.CreateUniqueTempDir());
|
|
|
| ASSERT_TRUE(test_launcher_utils::OverrideUserDataDir(user_data_dir()));
|
|
|