| 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 93d8363db02bc17791ed3b11449246d058190119..9e00054015d4ff2e4434871bf4e74a146a511837 100644
|
| --- a/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| +++ b/chrome/browser/extensions/api/tab_capture/offscreen_tab.cc
|
| @@ -388,11 +388,9 @@ void OffscreenTab::RequestMediaAccessPermission(
|
| DVLOG(2) << "Allowing " << devices.size()
|
| << " capture devices for OffscreenTab content.";
|
|
|
| - callback.Run(
|
| - devices,
|
| - devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE :
|
| - content::MEDIA_DEVICE_OK,
|
| - scoped_ptr<content::MediaStreamUI>(nullptr));
|
| + callback.Run(devices, devices.empty() ? content::MEDIA_DEVICE_INVALID_STATE
|
| + : content::MEDIA_DEVICE_OK,
|
| + std::unique_ptr<content::MediaStreamUI>(nullptr));
|
| }
|
|
|
| bool OffscreenTab::CheckMediaAccessPermission(
|
|
|