| Index: chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
|
| diff --git a/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc b/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
|
| index 835076252229743590e4ce7aa38d1a428399dcb4..74655c04483c7c12fdc42a9960e6d59901ed74be 100644
|
| --- a/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
|
| +++ b/chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc
|
| @@ -775,7 +775,7 @@ ToDataUrlOffscreenTabFunction::ToDataUrlOffscreenTabFunction() {}
|
| ToDataUrlOffscreenTabFunction::~ToDataUrlOffscreenTabFunction() {}
|
|
|
| bool ToDataUrlOffscreenTabFunction::GetTabToCapture(
|
| - WebContents** web_contents, TabContents** tab_contents) {
|
| + WebContents** web_contents) {
|
| int offscreen_tab_id;
|
| EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &offscreen_tab_id));
|
|
|
| @@ -788,7 +788,6 @@ bool ToDataUrlOffscreenTabFunction::GetTabToCapture(
|
| return false;
|
|
|
| *web_contents = offscreen_tab->web_contents();
|
| - *tab_contents = offscreen_tab->tab_contents();
|
| return true;
|
| }
|
|
|
|
|