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

Unified Diff: Source/platform/CryptoResult.h

Issue 1228373006: Reliably cancel in-progress CryptoResult(Impl) upon shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: non-oilpan compile fix 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
Index: Source/platform/CryptoResult.h
diff --git a/Source/platform/CryptoResult.h b/Source/platform/CryptoResult.h
index 3ccff2e211e705773d5ab873db418b2080aa680b..e97453d3e4b48e0054a751757ab22ea67fee45cd 100644
--- a/Source/platform/CryptoResult.h
+++ b/Source/platform/CryptoResult.h
@@ -37,7 +37,7 @@
namespace blink {
// Receives notification of completion of the crypto operation.
-class CryptoResult : public ThreadSafeRefCounted<CryptoResult> {
+class CryptoResult : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<CryptoResult> {
public:
virtual ~CryptoResult() { }
@@ -53,8 +53,10 @@ public:
{
return WebCryptoResult(this);
}
+
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
};
} // namespace blink
-#endif
+#endif // CryptoResult_h
« Source/modules/crypto/CryptoResultImpl.cpp ('K') | « Source/modules/crypto/SubtleCrypto.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698