| Index: ppapi/proxy/ppb_core_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_core_proxy.cc b/ppapi/proxy/ppb_core_proxy.cc
|
| index 1cc9671c4f28ed031c46cfaeee40ebe232d9f525..65845aed7be46da3c2575f02168da6d0ab176f45 100644
|
| --- a/ppapi/proxy/ppb_core_proxy.cc
|
| +++ b/ppapi/proxy/ppb_core_proxy.cc
|
| @@ -62,6 +62,7 @@ void CallOnMainThread(int delay_in_ms,
|
| #endif
|
| if (!callback.func)
|
| return;
|
| + ProxyAutoLock lock;
|
| PpapiGlobals::Get()->GetMainThreadMessageLoop()->PostDelayedTask(
|
| FROM_HERE,
|
| RunWhileLocked(base::Bind(&CallbackWrapper, callback, result)),
|
|
|