diff options
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.cc')
-rw-r--r-- | chrome/browser/automation/testing_automation_provider.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc index addfa68..509f368 100644 --- a/chrome/browser/automation/testing_automation_provider.cc +++ b/chrome/browser/automation/testing_automation_provider.cc @@ -568,7 +568,8 @@ void TestingAutomationProvider::ShowCollectedCookiesDialog( NavigationController* controller = tab_tracker_->GetResource(handle); TabContents* tab_contents = controller->tab_contents(); Browser* browser = Browser::GetBrowserForController(controller, NULL); - browser->ShowCollectedCookiesDialog(tab_contents); + browser->ShowCollectedCookiesDialog( + TabContentsWrapper::GetCurrentWrapperForContents(tab_contents)); *success = true; } } |