forked from pool/libqt5-qtwebengine
5083235c3f
- Add yet another upstream chromium patch to fix build with GCC 8.1: * fix-build-with-gcc-8-for-real.patch - Add upstream Chromium patch to fix build with GCC 8.1: * fix-build-with-gcc-8.patch - Add upstream Chromium patch to fix build with ffmpeg 4: * fix-build-with-ffmpeg4.patch - Refresh patches: * disable-gpu-when-using-nouveau-boo-1005323.diff * harmony-fix.diff allowed parallel processes based on the available memory. Also * For more details please see: - Do not build on s390 and s390x, chromium have not ported to them - Add patch gcc50-fixes.diff to fix the detection of the GCC 5.x OBS-URL: https://build.opensuse.org/request/show/614857 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtwebengine?expand=0&rev=36
31 lines
1.4 KiB
Diff
31 lines
1.4 KiB
Diff
From b8eb1cbe818f3cf1e6518dadb21cb54b84d890b9 Mon Sep 17 00:00:00 2001
|
|
From: Scott Violet <sky@chromium.org>
|
|
Date: Fri, 2 Mar 2018 00:39:29 +0000
|
|
Subject: [PATCH] Fixes operator bool in InterfaceRequest
|
|
|
|
BUG=none
|
|
TEST=none
|
|
|
|
Change-Id: Iaa66929033aeea93fcbb31c2793f0251b3b7db8b
|
|
Reviewed-on: https://chromium-review.googlesource.com/944253
|
|
Reviewed-by: Ken Rockot <rockot@chromium.org>
|
|
Commit-Queue: Scott Violet <sky@chromium.org>
|
|
Cr-Commit-Position: refs/heads/master@{#540376}
|
|
---
|
|
src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h b/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h
|
|
index 1007cb0b8c80f..ccfdb3716e5d9 100644
|
|
--- a/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h
|
|
+++ b/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h
|
|
@@ -54,7 +54,7 @@ class InterfaceRequest {
|
|
// Indicates whether the request currently contains a valid message pipe.
|
|
bool is_pending() const { return handle_.is_valid(); }
|
|
|
|
- explicit operator bool() const { return handle_; }
|
|
+ explicit operator bool() const { return handle_.is_valid(); }
|
|
|
|
// Removes the message pipe from the request and returns it.
|
|
ScopedMessagePipeHandle PassMessagePipe() { return std::move(handle_); }
|