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

Unified Diff: Source/platform/ContentDecryptionModuleResult.h

Issue 1249913002: Make ContentDecryptionModuleResult cross-thread destructible. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use CrossThreadPersistent<> instead Created 5 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
« no previous file with comments | « no previous file | Source/platform/heap/Handle.h » ('j') | public/platform/WebPrivatePtr.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/ContentDecryptionModuleResult.h
diff --git a/Source/platform/ContentDecryptionModuleResult.h b/Source/platform/ContentDecryptionModuleResult.h
index a5a2b0f109ec4259bc804ef82da8dd1c98921ade..c480d776bb5623ec3ba374f10c8b52ddb57d8a6f 100644
--- a/Source/platform/ContentDecryptionModuleResult.h
+++ b/Source/platform/ContentDecryptionModuleResult.h
@@ -29,6 +29,11 @@ public:
return WebContentDecryptionModuleResult(this);
}
+ // WebContentDecryptionModuleResult may be destructed on a thread other
+ // than the Blink Oilpan thread that created it. To support that, mark
+ // it as cross-thread accessible (for WebContentDecryptionModuleResult's
+ // WebPrivatePtr<> to make use of.)
+ CROSS_THREAD_ACCESSIBLE();
DEFINE_INLINE_VIRTUAL_TRACE() { }
};
« no previous file with comments | « no previous file | Source/platform/heap/Handle.h » ('j') | public/platform/WebPrivatePtr.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698