| Index: content/child/blink_platform_impl.cc
|
| diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
|
| index 78f648ed3152b6a438b100c619e273857f1cbbfe..bb433f40611e9e941fc2a12476171966790371ec 100644
|
| --- a/content/child/blink_platform_impl.cc
|
| +++ b/content/child/blink_platform_impl.cc
|
| @@ -32,7 +32,6 @@
|
| #include "content/child/web_discardable_memory_impl.h"
|
| #include "content/child/web_socket_stream_handle_impl.h"
|
| #include "content/child/web_url_loader_impl.h"
|
| -#include "content/child/webcrypto/webcrypto_impl.h"
|
| #include "content/child/websocket_bridge.h"
|
| #include "content/child/webthread_impl.h"
|
| #include "content/child/worker_task_runner.h"
|
| @@ -907,9 +906,8 @@ void BlinkPlatformImpl::didStopWorkerRunLoop(
|
| }
|
|
|
| blink::WebCrypto* BlinkPlatformImpl::crypto() {
|
| - if (!web_crypto_)
|
| - web_crypto_.reset(new WebCryptoImpl());
|
| - return web_crypto_.get();
|
| + webcrypto_impl_.EnsureInit();
|
| + return &web_crypto_;
|
| }
|
|
|
|
|
|
|