| Index: Source/platform/CryptoResult.h
|
| diff --git a/Source/platform/CryptoResult.h b/Source/platform/CryptoResult.h
|
| index 3ccff2e211e705773d5ab873db418b2080aa680b..56dae197b0f183360d540b1a219014b5e3d882c4 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() { }
|
|
|
| @@ -49,12 +49,9 @@ public:
|
| virtual void completeWithKeyPair(const WebCryptoKey& publicKey, const WebCryptoKey& privateKey) = 0;
|
| virtual bool cancelled() const = 0;
|
|
|
| - WebCryptoResult result()
|
| - {
|
| - return WebCryptoResult(this);
|
| - }
|
| + DEFINE_INLINE_VIRTUAL_TRACE() { }
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif
|
| +#endif // CryptoResult_h
|
|
|