Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: ppapi/shared_impl/proxy_lock.cc

Issue 19492014: PPAPI: Purposely leak ProxyLock, fix shutdown race (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/shared_impl/proxy_lock.cc
diff --git a/ppapi/shared_impl/proxy_lock.cc b/ppapi/shared_impl/proxy_lock.cc
index f9f937f2e2681753cff8ff2c253ab7bf5ede8c1e..7b9bc9137c1ef9930605ef0d2b4575db204a6865 100644
--- a/ppapi/shared_impl/proxy_lock.cc
+++ b/ppapi/shared_impl/proxy_lock.cc
@@ -59,9 +59,4 @@ void CallWhileUnlocked(const base::Closure& closure) {
closure.Run();
}
-void CallWhileLocked(const base::Closure& closure) {
- ProxyAutoLock lock;
- closure.Run();
-}
-
} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698