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

Unified Diff: Source/modules/crypto/WorkerGlobalScopeCrypto.cpp

Issue 222553007: [webcrypto] Expose crypto.subtle to web workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: check if changes... Created 6 years, 9 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/WorkerGlobalScopeCrypto.h ('k') | Source/modules/crypto/WorkerGlobalScopeCrypto.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
diff --git a/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp b/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
index c4069105d6a1482ece96bcd3387cdc52c686973f..0da1f6bc2e7f11e158dcf9f5d040e2a75363eca3 100644
--- a/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
+++ b/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
@@ -32,7 +32,7 @@
#include "modules/crypto/WorkerGlobalScopeCrypto.h"
#include "core/dom/ExecutionContext.h"
-#include "modules/crypto/WorkerCrypto.h"
+#include "modules/crypto/Crypto.h"
namespace WebCore {
@@ -55,15 +55,15 @@ WorkerGlobalScopeCrypto& WorkerGlobalScopeCrypto::from(WillBeHeapSupplementable<
return *supplement;
}
-WorkerCrypto* WorkerGlobalScopeCrypto::crypto(WillBeHeapSupplementable<WorkerGlobalScope>& context)
+Crypto* WorkerGlobalScopeCrypto::crypto(WillBeHeapSupplementable<WorkerGlobalScope>& context)
{
return WorkerGlobalScopeCrypto::from(context).crypto();
}
-WorkerCrypto* WorkerGlobalScopeCrypto::crypto() const
+Crypto* WorkerGlobalScopeCrypto::crypto() const
{
if (!m_crypto)
- m_crypto = WorkerCrypto::create();
+ m_crypto = Crypto::create();
return m_crypto.get();
}
« no previous file with comments | « Source/modules/crypto/WorkerGlobalScopeCrypto.h ('k') | Source/modules/crypto/WorkerGlobalScopeCrypto.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698