| Index: chrome_frame/test/net/fake_external_tab.cc
|
| ===================================================================
|
| --- chrome_frame/test/net/fake_external_tab.cc (revision 30502)
|
| +++ chrome_frame/test/net/fake_external_tab.cc (working copy)
|
| @@ -142,14 +142,14 @@
|
| CFUrlRequestUnittestRunner::CFUrlRequestUnittestRunner(int argc, char** argv)
|
| : NetTestSuite(argc, argv),
|
| chrome_frame_html_("/chrome_frame", kChromeFrameHtml) {
|
| + // Register the main thread by instantiating it, but don't call any methods.
|
| + main_thread_.reset(new ChromeThread(ChromeThread::UI,
|
| + MessageLoop::current()));
|
| + DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
|
| fake_chrome_.Initialize();
|
| pss_subclass_.reset(new ProcessSingletonSubclass(this));
|
| EXPECT_TRUE(pss_subclass_->Subclass(fake_chrome_.user_data()));
|
| StartChromeFrameInHostBrowser();
|
| - // Register the main thread by instantiating it, but don't call any methods.
|
| - main_thread_.reset(new ChromeThread(ChromeThread::UI,
|
| - MessageLoop::current()));
|
| - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
|
| }
|
|
|
| CFUrlRequestUnittestRunner::~CFUrlRequestUnittestRunner() {
|
|
|