Chromium Code Reviews| Index: ppapi/proxy/ppb_testing_proxy.cc |
| diff --git a/ppapi/proxy/ppb_testing_proxy.cc b/ppapi/proxy/ppb_testing_proxy.cc |
| index 6cdf59883077deca0c95a93a392bfc3035fd9b88..1b42ec02b1909aab0290940784364de8fd0d245f 100644 |
| --- a/ppapi/proxy/ppb_testing_proxy.cc |
| +++ b/ppapi/proxy/ppb_testing_proxy.cc |
| @@ -51,16 +51,17 @@ PP_Bool ReadImageData(PP_Resource graphics_2d, |
| } |
| void RunMessageLoop(PP_Instance instance) { |
| - MessageLoop::ScopedNestableTaskAllower allow(MessageLoop::current()); |
| - CHECK(PpapiGlobals::Get()->GetMainThreadMessageLoop()-> |
| - BelongsToCurrentThread()); |
| - MessageLoop::current()->Run(); |
| + base::MessageLoop::ScopedNestableTaskAllower allow( |
| + base::MessageLoop::current()); |
| + CHECK(PpapiGlobals::Get()->GetMainThreadMessageLoop() |
| + ->BelongsToCurrentThread()); |
|
dmichael (off chromium)
2013/05/06 15:23:22
nit: the -> should stay on the previous line
xhwang
2013/05/06 16:00:55
Done.
|
| + base::MessageLoop::current()->Run(); |
| } |
| void QuitMessageLoop(PP_Instance instance) { |
| CHECK(PpapiGlobals::Get()->GetMainThreadMessageLoop()-> |
| BelongsToCurrentThread()); |
| - MessageLoop::current()->QuitNow(); |
| + base::MessageLoop::current()->QuitNow(); |
| } |
| uint32_t GetLiveObjectsForInstance(PP_Instance instance_id) { |