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

Unified Diff: Source/platform/CryptoResult.h

Issue 1233173002: Have ScriptPromiseResolver on the Oilpan heap always. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: keepAliveWhilePending() comment 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..025c329c24414221c3a599fad681b30b36a97388 100644
--- a/Source/platform/CryptoResult.h
+++ b/Source/platform/CryptoResult.h
@@ -32,12 +32,11 @@
#define CryptoResult_h
#include "public/platform/WebCrypto.h"
-#include "wtf/ThreadSafeRefCounted.h"
namespace blink {
// Receives notification of completion of the crypto operation.
-class CryptoResult : public ThreadSafeRefCounted<CryptoResult> {
+class CryptoResult : public GarbageCollectedFinalized<CryptoResult> {
public:
virtual ~CryptoResult() { }
@@ -53,6 +52,8 @@ public:
{
return WebCryptoResult(this);
}
+
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698