| Index: content/renderer/renderer_blink_platform_impl.cc
|
| diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
|
| index 84210c859cea8b17b241de636cffd390cf07c991..0cdfd84b860aa2141b9548c5541986068d8dcc8a 100644
|
| --- a/content/renderer/renderer_blink_platform_impl.cc
|
| +++ b/content/renderer/renderer_blink_platform_impl.cc
|
| @@ -307,11 +307,14 @@ void RendererBlinkPlatformImpl::Shutdown() {
|
| //------------------------------------------------------------------------------
|
|
|
| blink::WebURLLoader* RendererBlinkPlatformImpl::createURLLoader() {
|
| + if (!url_loader_factory_)
|
| + interfaceProvider()->getInterface(mojo::GetProxy(&url_loader_factory_));
|
| ChildThreadImpl* child_thread = ChildThreadImpl::current();
|
| // There may be no child thread in RenderViewTests. These tests can still use
|
| // data URLs to bypass the ResourceDispatcher.
|
| return new content::WebURLLoaderImpl(
|
| - child_thread ? child_thread->resource_dispatcher() : NULL);
|
| + child_thread ? child_thread->resource_dispatcher() : NULL,
|
| + url_loader_factory_.get());
|
| }
|
|
|
| blink::WebThread* RendererBlinkPlatformImpl::currentThread() {
|
|
|