From b8eb1cbe818f3cf1e6518dadb21cb54b84d890b9 Mon Sep 17 00:00:00 2001 From: Scott Violet 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 Commit-Queue: Scott Violet 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_); }