summaryrefslogtreecommitdiff
path: root/patches/www-client/chromium-72.0.3626.121/lambda-this.patch
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2019-03-08 21:44:56 -0700
committerKenny Ballou <kballou@devnulllabs.io>2019-03-08 21:44:56 -0700
commit3d8c0621df66b34d78334c6cacd9990c6222bf79 (patch)
treea77ae3a7c7cae65882d3bdb9f784732b75960596 /patches/www-client/chromium-72.0.3626.121/lambda-this.patch
parent59201188169f51645159ebb2cf0cd52619915c16 (diff)
downloadgentoo.patches-3d8c0621df66b34d78334c6cacd9990c6222bf79.tar.gz
gentoo.patches-3d8c0621df66b34d78334c6cacd9990c6222bf79.tar.xz
Update chromium version
Rename patches, applying for chromium-72-0.3626.121. Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'patches/www-client/chromium-72.0.3626.121/lambda-this.patch')
-rw-r--r--patches/www-client/chromium-72.0.3626.121/lambda-this.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/www-client/chromium-72.0.3626.121/lambda-this.patch b/patches/www-client/chromium-72.0.3626.121/lambda-this.patch
new file mode 100644
index 0000000..21f0510
--- /dev/null
+++ b/patches/www-client/chromium-72.0.3626.121/lambda-this.patch
@@ -0,0 +1,14 @@
+description: gcc 6 cannot automatically resolve the this pointer in a lambda
+author: Michael Gilbert <mgilbert@debian.org>
+
+--- a/chrome/browser/usb/web_usb_service_impl.cc
++++ b/chrome/browser/usb/web_usb_service_impl.cc
+@@ -161,7 +161,7 @@ void WebUsbServiceImpl::OnPermissionRevo
+ if (!device_info)
+ return true;
+
+- return !HasDevicePermission(*device_info);
++ return !this->HasDevicePermission(*device_info);
+ });
+ }
+