| Index: ppapi/proxy/plugin_resource.cc
|
| diff --git a/ppapi/proxy/plugin_resource.cc b/ppapi/proxy/plugin_resource.cc
|
| index 23094fe84445432a7b759bdfdd24afd826284d09..f228a5e0a4535495bd3b40ef07d51c4cf11e3a1e 100644
|
| --- a/ppapi/proxy/plugin_resource.cc
|
| +++ b/ppapi/proxy/plugin_resource.cc
|
| @@ -34,7 +34,7 @@ PluginResource::~PluginResource() {
|
| new PpapiHostMsg_ResourceDestroyed(pp_resource()));
|
| }
|
|
|
| - if (resource_reply_thread_registrar_)
|
| + if (resource_reply_thread_registrar_.get())
|
| resource_reply_thread_registrar_->Unregister(pp_resource());
|
| }
|
|
|
|
|