Index: chrome_frame/test/net/fake_external_tab.cc |
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc |
index 887abf6c8b416581c4b9d73616b596f6b4b96796..3961fd89278e5f378f04ce0fa4c156c0f594af6c 100644 |
--- a/chrome_frame/test/net/fake_external_tab.cc |
+++ b/chrome_frame/test/net/fake_external_tab.cc |
@@ -791,7 +791,6 @@ int CFUrlRequestUnittestRunner::PreCreateThreads() { |
base::Unretained(this))); |
process_singleton_.reset(new ProcessSingleton(fake_chrome_->user_data(), |
callback)); |
- process_singleton_->Lock(NULL); |
return 0; |
} |
@@ -822,8 +821,6 @@ void CFUrlRequestUnittestRunner::PreMainMessageLoopRun() { |
base::KillProcess(crash_service_, 0, false); |
::ExitProcess(1); |
} |
- |
- StartChromeFrameInHostBrowser(); |
} |
bool CFUrlRequestUnittestRunner::MainMessageLoopRun(int* result_code) { |
@@ -832,7 +829,7 @@ bool CFUrlRequestUnittestRunner::MainMessageLoopRun(int* result_code) { |
// We need to allow IO on the main thread for these tests. |
base::ThreadRestrictions::SetIOAllowed(true); |
- process_singleton_->Unlock(); |
+ StartChromeFrameInHostBrowser(); |
StartInitializationTimeout(); |
return false; |
} |