Index: chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc |
diff --git a/chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc b/chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc |
index ee6471ebf38d9e3a7e45d774e3e2fa69b62def10..a156a77775235a891080b3db1e5beec3b7724f4c 100644 |
--- a/chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc |
+++ b/chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.cc |
@@ -16,7 +16,6 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
#include "content/public/browser/render_frame_host.h" |
-#include "content/public/browser/storage_partition.h" |
#include "content/public/browser/web_contents.h" |
#include "net/base/load_flags.h" |
#include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
@@ -118,8 +117,7 @@ |
content::NotificationService::AllSources()); |
if (fetcher_) { |
fetcher_->SetRequestContext( |
- content::BrowserContext::GetDefaultStoragePartition( |
- controller->GetBrowserContext())->GetURLRequestContext()); |
+ controller->GetBrowserContext()->GetRequestContext()); |
} |
WebContentsObserver::Observe(web_contents); |
// DidStartNavigationToPendingEntry() will be called for this load as well. |