Index: ppapi/proxy/ppb_core_proxy.cc |
=================================================================== |
--- ppapi/proxy/ppb_core_proxy.cc (revision 121902) |
+++ ppapi/proxy/ppb_core_proxy.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -55,7 +55,7 @@ |
TRACE_EVENT2("ppapi proxy", "CallOnMainThread callback", |
"Func", reinterpret_cast<void*>(callback.func), |
"UserData", callback.user_data); |
- CallWhileUnlocked(PP_RunCompletionCallback, &callback, result); |
+ PP_RunCompletionCallback(&callback, result); |
} |
void CallOnMainThread(int delay_in_ms, |
@@ -63,7 +63,7 @@ |
int32_t result) { |
GetMainThreadMessageLoop()->PostDelayedTask( |
FROM_HERE, |
- RunWhileLocked(base::Bind(&CallbackWrapper, callback, result)), |
+ base::Bind(&CallbackWrapper, callback, result), |
delay_in_ms); |
} |