Index: content/shell/browser/shell_browser_context.cc |
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc |
index 40b906a9ca13600fe2da599d38212c31ec8fb18d..505729904fe4a4020f52657698f0d3ad70376ef7 100644 |
--- a/content/shell/browser/shell_browser_context.cc |
+++ b/content/shell/browser/shell_browser_context.cc |
@@ -125,6 +125,10 @@ |
return download_manager_delegate_.get(); |
} |
+net::URLRequestContextGetter* ShellBrowserContext::GetRequestContext() { |
+ return GetDefaultStoragePartition(this)->GetURLRequestContext(); |
+} |
+ |
ShellURLRequestContextGetter* |
ShellBrowserContext::CreateURLRequestContextGetter( |
ProtocolHandlerMap* protocol_handlers, |
@@ -148,23 +152,20 @@ |
net::URLRequestContextGetter* |
ShellBrowserContext::GetMediaRequestContext() { |
- return BrowserContext::GetDefaultStoragePartition(this)-> |
- GetURLRequestContext(); |
+ return GetRequestContext(); |
} |
net::URLRequestContextGetter* |
ShellBrowserContext::GetMediaRequestContextForRenderProcess( |
int renderer_child_id) { |
- return BrowserContext::GetDefaultStoragePartition(this)-> |
- GetURLRequestContext(); |
+ return GetRequestContext(); |
} |
net::URLRequestContextGetter* |
ShellBrowserContext::GetMediaRequestContextForStoragePartition( |
const base::FilePath& partition_path, |
bool in_memory) { |
- return BrowserContext::GetDefaultStoragePartition(this)-> |
- GetURLRequestContext(); |
+ return GetRequestContext(); |
} |
net::URLRequestContextGetter* |