Index: content/worker/worker_webkitplatformsupport_impl.cc |
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc |
index cb4d8550b0d440aa006ea5dbb4333f4906ef0935..4e78345d347367ee15393ac34c98afb4c4790eb6 100644 |
--- a/content/worker/worker_webkitplatformsupport_impl.cc |
+++ b/content/worker/worker_webkitplatformsupport_impl.cc |
@@ -18,6 +18,7 @@ |
#include "content/child/thread_safe_sender.h" |
#include "content/child/web_database_observer_impl.h" |
#include "content/child/webblobregistry_impl.h" |
+#include "content/child/webcrypto/webcrypto_impl.h" |
#include "content/child/webfileutilities_impl.h" |
#include "content/child/webmessageportchannel_impl.h" |
#include "content/common/file_utilities_messages.h" |
@@ -297,6 +298,12 @@ WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { |
return blob_registry_.get(); |
} |
+blink::WebCrypto* WorkerWebKitPlatformSupportImpl::crypto() { |
+ if (!web_crypto_) |
+ web_crypto_.reset(new WebCryptoImpl()); |
+ return web_crypto_.get(); |
+} |
+ |
void WorkerWebKitPlatformSupportImpl::queryStorageUsageAndQuota( |
const blink::WebURL& storage_partition, |
blink::WebStorageQuotaType type, |