Index: content/browser/compositor/gpu_process_transport_factory.cc |
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc |
index 5d2bf4f580c2ce46eeaa0a12318d6cd60bbf9c5c..6fe5704183e52761b1584361696d7fc6a21e8106 100644 |
--- a/content/browser/compositor/gpu_process_transport_factory.cc |
+++ b/content/browser/compositor/gpu_process_transport_factory.cc |
@@ -289,7 +289,7 @@ void GpuProcessTransportFactory::CreateOutputSurface( |
compositor->widget()); |
#endif |
- const bool use_vulkan = SharedVulkanContextProvider(); |
+ const bool use_vulkan = static_cast<bool>(SharedVulkanContextProvider()); |
const bool create_gpu_output_surface = |
ShouldCreateGpuOutputSurface(compositor.get()); |