diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-26 02:52:55 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-26 02:52:55 +0000 |
commit | bad54ae6fbe10711638c29a1436690f4b4b7e18f (patch) | |
tree | 7ced28f96f1c2e46c794336947a43f2e86bbe108 | |
parent | 79d7fae89289d62e1b9eba1b8d9285eddd7806b8 (diff) | |
download | chromium_src-bad54ae6fbe10711638c29a1436690f4b4b7e18f.zip chromium_src-bad54ae6fbe10711638c29a1436690f4b4b7e18f.tar.gz chromium_src-bad54ae6fbe10711638c29a1436690f4b4b7e18f.tar.bz2 |
Fix purify error for DOM UI unit test.
Review URL: http://codereview.chromium.org/42633
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12533 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/dom_ui/new_tab_ui.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc index dedb011..6250f10 100644 --- a/chrome/browser/dom_ui/new_tab_ui.cc +++ b/chrome/browser/dom_ui/new_tab_ui.cc @@ -1053,10 +1053,9 @@ NewTabUI::NewTabUI(WebContents* contents) } #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, |