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

Unified Diff: ppapi/thunk/enter.cc

Issue 19492014: PPAPI: Purposely leak ProxyLock, fix shutdown race (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove static initializer Created 7 years, 3 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
« no previous file with comments | « ppapi/thunk/enter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/enter.cc
diff --git a/ppapi/thunk/enter.cc b/ppapi/thunk/enter.cc
index bd955b2ca8f81d0fc3177f1a586c42f3b6c525e5..47889dd15776c7b4feadada713b8496f835611bb 100644
--- a/ppapi/thunk/enter.cc
+++ b/ppapi/thunk/enter.cc
@@ -29,14 +29,6 @@ namespace thunk {
namespace subtle {
-void AssertLockHeld() {
- base::Lock* proxy_lock = PpapiGlobals::Get()->GetProxyLock();
- // The lock is only valid in the plugin side of the proxy, so it only makes
- // sense to assert there. Otherwise, silently succeed.
- if (proxy_lock)
- proxy_lock->AssertAcquired();
-}
-
EnterBase::EnterBase()
: resource_(NULL),
retval_(PP_OK) {
« no previous file with comments | « ppapi/thunk/enter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698