| Index: chrome/browser/extensions/api/tab_capture/tab_capture_api.h
|
| diff --git a/chrome/browser/extensions/api/tab_capture/tab_capture_api.h b/chrome/browser/extensions/api/tab_capture/tab_capture_api.h
|
| index 884c71115772ccb8acb4d255bb1c5f6f5c1df516..8e9675f1c618a9f2dd852eab8fa9ec57cd880079 100644
|
| --- a/chrome/browser/extensions/api/tab_capture/tab_capture_api.h
|
| +++ b/chrome/browser/extensions/api/tab_capture/tab_capture_api.h
|
| @@ -45,7 +45,7 @@ class TabCaptureGetCapturedTabsFunction : public ChromeSyncExtensionFunction {
|
| bool RunSync() final;
|
| };
|
|
|
| -class TabCaptureCaptureOffscreenTabFunction : public SyncExtensionFunction {
|
| +class TabCaptureCaptureOffscreenTabFunction : public UIThreadExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("tabCapture.captureOffscreenTab",
|
| TABCAPTURE_CAPTUREOFFSCREENTAB)
|
| @@ -59,7 +59,7 @@ class TabCaptureCaptureOffscreenTabFunction : public SyncExtensionFunction {
|
| ~TabCaptureCaptureOffscreenTabFunction() final {}
|
|
|
| // ExtensionFunction:
|
| - bool RunSync() final;
|
| + ResponseAction Run() final;
|
| };
|
|
|
| } // namespace extensions
|
|
|