| Index: content/browser/web_contents/web_contents_impl.cc
|
| ===================================================================
|
| --- content/browser/web_contents/web_contents_impl.cc (revision 140592)
|
| +++ content/browser/web_contents/web_contents_impl.cc (working copy)
|
| @@ -122,6 +122,7 @@
|
| // the user goes back. The process only stays live if another tab is using
|
| // it, but if so, the existing frame relationships will be maintained.
|
|
|
| +using content::BrowserContext;
|
| using content::DevToolsAgentHost;
|
| using content::DevToolsAgentHostRegistry;
|
| using content::DevToolsManagerImpl;
|
| @@ -3043,7 +3044,8 @@
|
| void WebContentsImpl::SaveURL(const GURL& url,
|
| const content::Referrer& referrer,
|
| bool is_main_frame) {
|
| - DownloadManager* dlm = GetBrowserContext()->GetDownloadManager();
|
| + DownloadManager* dlm =
|
| + BrowserContext::GetDownloadManager(GetBrowserContext());
|
| if (!dlm)
|
| return;
|
| int64 post_id = -1;
|
|
|