diff options
Diffstat (limited to 'chrome_frame/test')
-rw-r--r-- | chrome_frame/test/net/fake_external_tab.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc index 78430fe..9ada450 100644 --- a/chrome_frame/test/net/fake_external_tab.cc +++ b/chrome_frame/test/net/fake_external_tab.cc @@ -146,7 +146,8 @@ CFUrlRequestUnittestRunner::CFUrlRequestUnittestRunner(int argc, char** argv) 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)); + main_thread_.reset(new ChromeThread(ChromeThread::UI, + MessageLoop::current())); DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); } |