Index: ppapi/proxy/ppb_testing_proxy.cc |
diff --git a/ppapi/proxy/ppb_testing_proxy.cc b/ppapi/proxy/ppb_testing_proxy.cc |
index b8c9ce07d3afb86a866fe26d4ccd89448197d25b..ffcb3e46b203c1dde1d878e84709284acca713c5 100644 |
--- a/ppapi/proxy/ppb_testing_proxy.cc |
+++ b/ppapi/proxy/ppb_testing_proxy.cc |
@@ -54,6 +54,7 @@ PP_Bool ReadImageData(PP_Resource graphics_2d, |
void RunMessageLoop(PP_Instance instance) { |
MessageLoop::ScopedNestableTaskAllower allow(MessageLoop::current()); |
// TODO(dmichael): We should probably assert that this is the main thread. |
+ ProxyAutoLock lock; |
dmichael (off chromium)
2012/11/06 03:00:02
No, you don't want the lock to be acquired at this
dmichael (off chromium)
2012/11/06 03:12:19
I've looked around a little, and it hasn't jumped
|
MessageLoop::current()->Run(); |
} |