| Index: chrome/browser/automation/automation_provider_win.cc
|
| diff --git a/chrome/browser/automation/automation_provider_win.cc b/chrome/browser/automation/automation_provider_win.cc
|
| index 3447b06bc050766fcbedff400a6ffc4a8a4f0489..8c1c11bb80978dcc47d489460a40efe8d546d97f 100644
|
| --- a/chrome/browser/automation/automation_provider_win.cc
|
| +++ b/chrome/browser/automation/automation_provider_win.cc
|
| @@ -241,8 +241,7 @@ void AutomationProvider::PrintAsync(int tab_handle) {
|
| if (!web_contents)
|
| return;
|
|
|
| - TabContents* tab_contents =
|
| - TabContents::GetOwningTabContentsForWebContents(web_contents);
|
| + TabContents* tab_contents = TabContents::FromWebContents(web_contents);
|
| tab_contents->print_view_manager()->PrintNow();
|
| }
|
|
|
|
|