| Index: chrome/browser/printing/print_dialog_cloud.cc
|
| ===================================================================
|
| --- chrome/browser/printing/print_dialog_cloud.cc (revision 116109)
|
| +++ chrome/browser/printing/print_dialog_cloud.cc (working copy)
|
| @@ -604,8 +604,7 @@
|
| Profile* profile = NULL;
|
| if (modal) {
|
| if (job_title.empty()) {
|
| - WebContents* web_contents =
|
| - browser->GetSelectedTabContentsWrapper()->web_contents();
|
| + WebContents* web_contents = browser->GetSelectedWebContents();
|
| if (web_contents)
|
| job_title = web_contents->GetTitle();
|
| }
|
|
|