openbsd-ports/www/chromium/patches/patch-ui_views_views_delegate_h
robert 57775479fd update to 72.0.3626.81
now chromium uses f'in java to use the closure compiler which
creates "better javascript" by parsing and converting all js
code into unreadable garbage. this feature is only enable on
amd64 because on i386 java randomly fails to allocate the needed
memory and on arm64 we do not have jdk yet. on these architectures,
we use the best method to create "better javascript", which is cat(1)
2019-02-06 16:41:55 +00:00

14 lines
576 B
Plaintext

$OpenBSD: patch-ui_views_views_delegate_h,v 1.14 2019/02/06 16:41:55 robert Exp $
Index: ui/views/views_delegate.h
--- ui/views/views_delegate.h.orig
+++ ui/views/views_delegate.h
@@ -146,7 +146,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) && !defined(OS_CHROMEOS)
+#elif (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
virtual gfx::ImageSkia* GetDefaultWindowIcon() const;
#endif