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

Unified Diff: Source/platform/exported/WebCryptoResult.cpp

Issue 783423003: Make ScriptPromiseResolver RefCountedWillBeRefCountedGarbageCollected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/exported/WebCryptoResult.cpp
diff --git a/Source/platform/exported/WebCryptoResult.cpp b/Source/platform/exported/WebCryptoResult.cpp
index 95c630c141ace5e45d61fd6ca0512831bd8353ca..457b1ad9d42423f7c545cd40ac9b9191ee66e394 100644
--- a/Source/platform/exported/WebCryptoResult.cpp
+++ b/Source/platform/exported/WebCryptoResult.cpp
@@ -32,7 +32,8 @@
#include "public/platform/WebCrypto.h"
#include "platform/CryptoResult.h"
-#include "wtf/PassRefPtr.h"
+#include "platform/heap/Heap.h"
+#include "wtf/MainThread.h"
#include <string.h>
namespace blink {
@@ -81,7 +82,7 @@ bool WebCryptoResult::cancelled() const
return m_impl->cancelled();
}
-WebCryptoResult::WebCryptoResult(const PassRefPtr<CryptoResult>& impl)
+WebCryptoResult::WebCryptoResult(const PassRefPtrWillBeRawPtr<CryptoResult>& impl)
: m_impl(impl)
{
ASSERT(m_impl.get());

Powered by Google App Engine
This is Rietveld 408576698