Index: content/browser/renderer_host/compositor_impl_android.cc |
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc |
index 0b7968802969fd5486832b46cf041edb11420e3c..6b2e21a313efae0f1b7b685332fac5f690969ea2 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.cc |
+++ b/content/browser/renderer_host/compositor_impl_android.cc |
@@ -348,7 +348,7 @@ CompositorImpl::SharedVulkanContextProviderAndroid() { |
switches::kEnableVulkan)) { |
scoped_refptr<cc::VulkanInProcessContextProvider>* context_provider = |
g_shared_vulkan_context_provider_android_.Pointer(); |
- if (*context_provider == NULL) |
+ if (!*context_provider) |
*context_provider = cc::VulkanInProcessContextProvider::Create(); |
return *context_provider; |
} |