Index: content/shell/shell_browser_context.cc |
=================================================================== |
--- content/shell/shell_browser_context.cc (revision 121250) |
+++ content/shell/shell_browser_context.cc (working copy) |
@@ -167,13 +167,13 @@ |
return GetRequestContext(); |
} |
-const ResourceContext& ShellBrowserContext::GetResourceContext() { |
+ResourceContext* ShellBrowserContext::GetResourceContext() { |
if (!resource_context_.get()) { |
resource_context_.reset(new ShellResourceContext( |
static_cast<ShellURLRequestContextGetter*>(GetRequestContext()), |
GetBlobStorageContext())); |
} |
- return *resource_context_.get(); |
+ return resource_context_.get(); |
} |
HostZoomMap* ShellBrowserContext::GetHostZoomMap() { |
@@ -266,7 +266,7 @@ |
appcache_service_.get(), |
IsOffTheRecord() |
? FilePath() : GetPath().Append(FILE_PATH_LITERAL("AppCache")), |
- &GetResourceContext(), |
+ GetResourceContext(), |
special_storage_policy)); |
} |