| Index: chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| diff --git a/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc b/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| index ddc31cf18549dfeffde8653079308719039f378f..4ed2638253d031ed73bd7ddf9fb97cbd7827e88c 100644
|
| --- a/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| +++ b/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| @@ -130,7 +130,8 @@ void OffscreenTab::CloseContents(WebContents* source) {
|
| // |this| is no longer valid.
|
| }
|
|
|
| -bool OffscreenTab::ShouldSuppressDialogs(WebContents* source) {
|
| +bool OffscreenTab::ShouldSuppressDialogs(WebContents* source,
|
| + bool before_unload) {
|
| DCHECK_EQ(offscreen_tab_web_contents_.get(), source);
|
| // Suppress all because there is no possible direct user interaction with
|
| // dialogs.
|
|
|