diff options
Diffstat (limited to 'chrome_frame/test')
-rw-r--r-- | chrome_frame/test/net/fake_external_tab.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc index 319f452..991342b 100644 --- a/chrome_frame/test/net/fake_external_tab.cc +++ b/chrome_frame/test/net/fake_external_tab.cc @@ -269,9 +269,6 @@ void FakeExternalTab::Initialize() { FilePath profile_path(ProfileManager::GetDefaultProfileDir(user_data())); - Profile* profile = - g_browser_process->profile_manager()->GetProfile(profile_path); - // Initialize the content client which that code uses to talk to Chrome. content::SetContentClient(&g_chrome_content_client.Get()); @@ -281,7 +278,10 @@ void FakeExternalTab::Initialize() { content::GetContentClient()->set_renderer(&g_renderer_client.Get()); - // Create the child threads. + Profile* profile = + g_browser_process->profile_manager()->GetProfile(profile_path); + + // Create the child threads. g_browser_process->db_thread(); g_browser_process->file_thread(); g_browser_process->io_thread(); |