Index: components/autofill/content/browser/content_autofill_driver.cc |
diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/components/autofill/content/browser/content_autofill_driver.cc |
index 9d82a87be059629e17b3c1e74675890513f5d9b4..e68f29d89df4f5d9cd6d3f384bc568f3a23e1c4e 100644 |
--- a/components/autofill/content/browser/content_autofill_driver.cc |
+++ b/components/autofill/content/browser/content_autofill_driver.cc |
@@ -22,7 +22,6 @@ |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/render_widget_host_view.h" |
#include "content/public/browser/site_instance.h" |
-#include "content/public/browser/storage_partition.h" |
#include "ipc/ipc_message_macros.h" |
#include "ui/gfx/geometry/size_f.h" |
@@ -53,9 +52,9 @@ |
} |
net::URLRequestContextGetter* ContentAutofillDriver::GetURLRequestContext() { |
- return content::BrowserContext::GetDefaultStoragePartition( |
- render_frame_host_->GetSiteInstance()->GetBrowserContext())-> |
- GetURLRequestContext(); |
+ return render_frame_host_->GetSiteInstance() |
+ ->GetBrowserContext() |
+ ->GetRequestContext(); |
} |
base::SequencedWorkerPool* ContentAutofillDriver::GetBlockingPool() { |