summaryrefslogtreecommitdiffstats
path: root/src/core/browser_context_qt.cpp
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-05-09 14:40:48 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-09 16:57:25 +0200
commit15ca2336302e21da3e11c8607f6f3ff4e433d09e (patch)
tree35502b542537330559bc53a228c17e941b965c16 /src/core/browser_context_qt.cpp
parent3a96f1a674778ecd79745db7fc5dbff3236a0853 (diff)
Fix Google Maps not showing tiles when panning/zooming
The issue is that the web worker that fetches and pre-process the map tiles couldn't be started successfully from a Blob. We were missing the blob: scheme handler that was passed to us in the ignored protocol_handlers argument of BrowserContextQt::CreateRequestContext. Change-Id: I24b726a1577e7092d53b1821efd3e4aa2a66c7d9 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/browser_context_qt.cpp')
-rw-r--r--src/core/browser_context_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/browser_context_qt.cpp b/src/core/browser_context_qt.cpp
index 48fd8ce26..f0b43a334 100644
--- a/src/core/browser_context_qt.cpp
+++ b/src/core/browser_context_qt.cpp
@@ -145,7 +145,7 @@ quota::SpecialStoragePolicy *BrowserContextQt::GetSpecialStoragePolicy()
net::URLRequestContextGetter *BrowserContextQt::CreateRequestContext(content::ProtocolHandlerMap *protocol_handlers)
{
- url_request_getter_ = new URLRequestContextGetterQt(GetPath());
+ url_request_getter_ = new URLRequestContextGetterQt(GetPath(), protocol_handlers);
static_cast<ResourceContextQt*>(resourceContext.get())->set_url_request_context_getter(url_request_getter_.get());
return url_request_getter_.get();
}