Index: ppapi/proxy/resource_reply_thread_registrar.cc |
diff --git a/ppapi/proxy/resource_reply_thread_registrar.cc b/ppapi/proxy/resource_reply_thread_registrar.cc |
index 0c49cf5c7b5fe6fa2b3a862a7f1f506a7b01e895..13329872aa17c037133ecfd85422e7eca33bc7c2 100644 |
--- a/ppapi/proxy/resource_reply_thread_registrar.cc |
+++ b/ppapi/proxy/resource_reply_thread_registrar.cc |
@@ -27,7 +27,7 @@ void ResourceReplyThreadRegistrar::Register( |
ProxyLock::AssertAcquiredDebugOnly(); |
// Use the default thread if |reply_thread_hint| is NULL or blocking. |
- if (!reply_thread_hint || reply_thread_hint->is_blocking()) |
+ if (!reply_thread_hint.get() || reply_thread_hint->is_blocking()) |
return; |
DCHECK(reply_thread_hint->target_loop()); |
@@ -36,7 +36,7 @@ void ResourceReplyThreadRegistrar::Register( |
{ |
base::AutoLock auto_lock(lock_); |
- if (reply_thread == default_thread_) |
+ if (reply_thread.get() == default_thread_.get()) |
return; |
map_[resource][sequence_number] = reply_thread; |