pkgsrc-wip/chromium/patches/patch-ui_views_views__deleg...

14 lines
525 B
C

$NetBSD$
--- ui/views/views_delegate.h.orig 2020-07-15 18:56:49.000000000 +0000
+++ ui/views/views_delegate.h
@@ -133,7 +133,7 @@ class VIEWS_EXPORT ViewsDelegate {
// Returns true if the window passed in is in the Windows 8 metro
// environment.
virtual bool IsWindowInMetro(gfx::NativeWindow window) const;
-#elif defined(OS_LINUX) && BUILDFLAG(ENABLE_DESKTOP_AURA)
+#elif (defined(OS_LINUX) || defined(OS_BSD)) && BUILDFLAG(ENABLE_DESKTOP_AURA)
virtual gfx::ImageSkia* GetDefaultWindowIcon() const;
#endif