Index: ppapi/proxy/ppb_instance_proxy.cc |
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc |
index 528d8e7fc0249887c312a71cf52552511b689678..4009a19f0db93df1599051dd8ca3eedf3e21ced1 100644 |
--- a/ppapi/proxy/ppb_instance_proxy.cc |
+++ b/ppapi/proxy/ppb_instance_proxy.cc |
@@ -411,7 +411,7 @@ Resource* PPB_Instance_Proxy::GetSingletonResource(PP_Instance instance, |
#endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
} |
- if (!new_singleton) { |
+ if (!new_singleton.get()) { |
// Getting here implies that a constructor is missing in the above switch. |
NOTREACHED(); |
return NULL; |