| Index: chrome/browser/ui/browser_commands.cc
|
| diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
|
| index 8bc6cdd5f3ae3afdc8d42e37c23a84c9a1aaa2e0..89f35b6ecb9be583578c026861e89727d203965e 100644
|
| --- a/chrome/browser/ui/browser_commands.cc
|
| +++ b/chrome/browser/ui/browser_commands.cc
|
| @@ -876,11 +876,11 @@
|
|
|
| void Print(Browser* browser) {
|
| #if BUILDFLAG(ENABLE_PRINTING)
|
| - auto* web_contents = browser->tab_strip_model()->GetActiveWebContents();
|
| - printing::StartPrint(web_contents, browser->profile()->GetPrefs()->GetBoolean(
|
| - prefs::kPrintPreviewDisabled),
|
| - false /* has_selection? */);
|
| -#endif
|
| + printing::StartPrint(
|
| + browser->tab_strip_model()->GetActiveWebContents(),
|
| + browser->profile()->GetPrefs()->GetBoolean(prefs::kPrintPreviewDisabled),
|
| + false);
|
| +#endif // BUILDFLAG(ENABLE_PRINTING)
|
| }
|
|
|
| bool CanPrint(Browser* browser) {
|
|
|