diff options
Diffstat (limited to 'ppapi/proxy/ppb_message_loop_proxy.cc')
-rw-r--r-- | ppapi/proxy/ppb_message_loop_proxy.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ppapi/proxy/ppb_message_loop_proxy.cc b/ppapi/proxy/ppb_message_loop_proxy.cc index 7a64b50..12a48bb 100644 --- a/ppapi/proxy/ppb_message_loop_proxy.cc +++ b/ppapi/proxy/ppb_message_loop_proxy.cc @@ -55,9 +55,6 @@ class MessageLoopResource : public Resource, public PPB_MessageLoop_API { // Handles posting to the message loop if there is one, or the pending queue // if there isn't. - // NOTE: The given closure will be run *WITHOUT* acquiring the Proxy lock. - // This only makes sense for user code and completely thread-safe - // proxy operations (e.g., MessageLoop::QuitClosure). void PostClosure(const tracked_objects::Location& from_here, const base::Closure& closure, int64 delay_ms); @@ -200,9 +197,8 @@ void MessageLoopResource::PostClosure( const base::Closure& closure, int64 delay_ms) { if (loop_.get()) { - loop_->PostDelayedTask(from_here, - closure, - base::TimeDelta::FromMilliseconds(delay_ms)); + loop_->PostDelayedTask( + from_here, closure, base::TimeDelta::FromMilliseconds(delay_ms)); } else { TaskInfo info; info.from_here = FROM_HERE; |