diff --git a/chromium-65.0.3325.162-boolfix.patch b/chromium-65.0.3325.162-boolfix.patch index 325d649d..a27f3a81 100644 --- a/chromium-65.0.3325.162-boolfix.patch +++ b/chromium-65.0.3325.162-boolfix.patch @@ -6,7 +6,7 @@ diff -up chromium-65.0.3325.162/mojo/public/cpp/bindings/associated_interface_pt bool is_valid() const { return handle_.is_valid(); } - explicit operator bool() const { return handle_; } -+ explicit operator bool() const { return static_cast (handle_); } ++ explicit operator bool() const { return (bool) handle_; } ScopedInterfaceEndpointHandle PassHandle() { return std::move(handle_); @@ -18,7 +18,7 @@ diff -up chromium-65.0.3325.162/mojo/public/cpp/bindings/associated_interface_re bool is_pending() const { return handle_.is_valid(); } - explicit operator bool() const { return handle_; } -+ explicit operator bool() const { return static_cast (handle_); } ++ explicit operator bool() const { return (bool) handle_; } ScopedInterfaceEndpointHandle PassHandle() { return std::move(handle_); } @@ -30,7 +30,7 @@ diff -up chromium-65.0.3325.162/mojo/public/cpp/bindings/interface_request.h.boo bool is_pending() const { return handle_.is_valid(); } - explicit operator bool() const { return handle_; } -+ explicit operator bool() const { return static_cast (handle_); } ++ explicit operator bool() const { return (bool) handle_; } // Removes the message pipe from the request and returns it. ScopedMessagePipeHandle PassMessagePipe() { return std::move(handle_); }