| Index: chrome/browser/dom_ui/new_tab_ui.cc
|
| ===================================================================
|
| --- chrome/browser/dom_ui/new_tab_ui.cc (revision 12515)
|
| +++ chrome/browser/dom_ui/new_tab_ui.cc (working copy)
|
| @@ -1053,10 +1053,9 @@
|
| }
|
| #endif
|
|
|
| - NewTabHTMLSource* html_source = new NewTabHTMLSource();
|
| -
|
| // In testing mode there may not be an I/O thread.
|
| if (g_browser_process->io_thread()) {
|
| + NewTabHTMLSource* html_source = new NewTabHTMLSource();
|
| g_browser_process->io_thread()->message_loop()->PostTask(FROM_HERE,
|
| NewRunnableMethod(&chrome_url_data_manager,
|
| &ChromeURLDataManager::AddDataSource,
|
|
|