SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
www/chromium/patches/patch-ui_aura_screen_ozone_h
Normal file
21
www/chromium/patches/patch-ui_aura_screen_ozone_h
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: ui/aura/screen_ozone.h
|
||||
--- ui/aura/screen_ozone.h.orig
|
||||
+++ ui/aura/screen_ozone.h
|
||||
@@ -46,7 +46,7 @@ class AURA_EXPORT ScreenOzone : public display::Screen
|
||||
display::Display GetDisplayMatching(
|
||||
const gfx::Rect& match_rect) const override;
|
||||
display::Display GetPrimaryDisplay() const override;
|
||||
-#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
std::unique_ptr<display::Screen::ScreenSaverSuspender> SuspendScreenSaver()
|
||||
override;
|
||||
#endif // BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
|
||||
@@ -73,7 +73,7 @@ class AURA_EXPORT ScreenOzone : public display::Screen
|
||||
ui::PlatformScreen* platform_screen() { return platform_screen_.get(); }
|
||||
|
||||
private:
|
||||
-#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
class ScreenSaverSuspenderOzone
|
||||
: public display::Screen::ScreenSaverSuspender {
|
||||
public:
|
Loading…
Add table
Add a link
Reference in a new issue