Index: chrome_frame/test/net/fake_external_tab.cc |
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc |
index 4c9fd19d31d05a98e8b4a295e1353be21201090c..c2640ca32fd8fcb0c91d436ec8cff7af0273ac81 100644 |
--- a/chrome_frame/test/net/fake_external_tab.cc |
+++ b/chrome_frame/test/net/fake_external_tab.cc |
@@ -778,7 +778,7 @@ bool CFUrlRequestUnittestRunner::ProcessSingletonNotificationCallback( |
switches::kAutomationClientChannelID); |
EXPECT_FALSE(channel_id.empty()); |
- Profile* profile = g_browser_process->profile_manager()->GetDefaultProfile( |
+ Profile* profile = g_browser_process->profile_manager()->GetLastUsedProfile( |
fake_chrome_->user_data()); |
AutomationProviderList* list = g_browser_process->GetAutomationProviderList(); |