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

Unified Diff: Source/platform/CryptoResult.h

Issue 253563002: [webcrypto] Make it safe to delete WebCryptoResult from any thread. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 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 | « Source/modules/crypto/CryptoResultImpl.cpp ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/CryptoResult.h
diff --git a/Source/platform/CryptoResult.h b/Source/platform/CryptoResult.h
index 393549aae1d7b40ec78fcb95988bad348ea0d72d..4c4e6d22a1b27a5090f103b3c8255b7abb580f58 100644
--- a/Source/platform/CryptoResult.h
+++ b/Source/platform/CryptoResult.h
@@ -32,12 +32,12 @@
#define CryptoResult_h
#include "public/platform/WebCrypto.h"
-#include "wtf/RefCounted.h"
+#include "wtf/ThreadSafeRefCounted.h"
namespace WebCore {
// Receives notification of completion of the crypto operation.
-class CryptoResult : public RefCounted<CryptoResult> {
+class CryptoResult : public ThreadSafeRefCounted<CryptoResult> {
public:
virtual ~CryptoResult() { }
« no previous file with comments | « Source/modules/crypto/CryptoResultImpl.cpp ('k') | public/platform/WebCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698