Index: content/child/shared_memory_data_consumer_handle.cc |
diff --git a/content/child/shared_memory_data_consumer_handle.cc b/content/child/shared_memory_data_consumer_handle.cc |
index 6766fe867aed181f921cd85512623b9d36e646c5..220da0c3674abd4d88b88271987fa36560ece4fc 100644 |
--- a/content/child/shared_memory_data_consumer_handle.cc |
+++ b/content/child/shared_memory_data_consumer_handle.cc |
@@ -163,7 +163,7 @@ class SharedMemoryDataConsumerHandle::Context final |
} |
bool is_handle_locked() const { |
lock_.AssertAcquired(); |
- return notification_task_runner_; |
+ return static_cast<bool>(notification_task_runner_); |
} |
bool IsReaderBoundToCurrentThread() const { |
lock_.AssertAcquired(); |