Index: content/child/webkitplatformsupport_impl.cc |
diff --git a/content/child/webkitplatformsupport_impl.cc b/content/child/webkitplatformsupport_impl.cc |
index 13b2603d2c7b0b6f7dce4ebbbc8ff00b38c7e7b5..99b1632f3648a085209dfa7780a6c1f782c2bee6 100644 |
--- a/content/child/webkitplatformsupport_impl.cc |
+++ b/content/child/webkitplatformsupport_impl.cc |
@@ -5,6 +5,7 @@ |
#include "base/command_line.h" |
#include "content/child/child_thread.h" |
#include "content/child/socket_stream_dispatcher.h" |
+#include "content/child/webcrypto/webcrypto_impl.h" |
#include "content/child/webkitplatformsupport_impl.h" |
#include "content/child/websocket_bridge.h" |
#include "content/public/common/content_client.h" |
@@ -46,4 +47,10 @@ blink::WebSocketHandle* WebKitPlatformSupportImpl::createWebSocketHandle() { |
return new WebSocketBridge; |
} |
+blink::WebCrypto* WebKitPlatformSupportImpl::crypto() { |
+ if (!web_crypto_) |
+ web_crypto_.reset(new WebCryptoImpl()); |
+ return web_crypto_.get(); |
+} |
+ |
} // namespace content |