summaryrefslogtreecommitdiffstats
path: root/src/core/desktop_screen_qt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/desktop_screen_qt.h')
-rw-r--r--src/core/desktop_screen_qt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/desktop_screen_qt.h b/src/core/desktop_screen_qt.h
index 33f0cf870..a322c4840 100644
--- a/src/core/desktop_screen_qt.h
+++ b/src/core/desktop_screen_qt.h
@@ -18,7 +18,7 @@ public:
display::Display GetDisplayNearestWindow(gfx::NativeWindow /*window*/) const override;
#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
- bool SetScreenSaverSuspended(bool suspend) override;
+ std::unique_ptr<ScreenSaverSuspender> SuspendScreenSaver() override;
#endif
bool IsScreenSaverActive() const override;