Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index a110f870e4737b075ad8212b8466f53e85ae4252..ba885ca1fe18bfae010e69154a802f5e81432e6b 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -66,7 +66,6 @@ |
#include "chrome/common/render_messages.h" |
#include "chrome/common/url_constants.h" |
#include "content/browser/browser_url_handler.h" |
-#include "content/browser/browsing_instance.h" |
#include "content/browser/child_process_security_policy.h" |
#include "content/browser/gpu/gpu_data_manager.h" |
#include "content/browser/gpu/gpu_process_host.h" |
@@ -327,7 +326,7 @@ void ChromeContentBrowserClient::RenderViewHostCreated( |
SiteInstance* site_instance = render_view_host->site_instance(); |
Profile* profile = Profile::FromBrowserContext( |
- site_instance->browsing_instance()->browser_context()); |
+ site_instance->GetBrowserContext()); |
new ChromeRenderViewHostObserver(render_view_host, |
profile->GetNetworkPredictor()); |
@@ -489,7 +488,7 @@ void ChromeContentBrowserClient::SiteInstanceGotProcess( |
CHECK(site_instance->HasProcess()); |
Profile* profile = Profile::FromBrowserContext( |
- site_instance->browsing_instance()->browser_context()); |
+ site_instance->GetBrowserContext()); |
ExtensionService* service = profile->GetExtensionService(); |
if (!service) |
return; |
@@ -518,7 +517,7 @@ void ChromeContentBrowserClient::SiteInstanceDeleting( |
return; |
Profile* profile = Profile::FromBrowserContext( |
- site_instance->browsing_instance()->browser_context()); |
+ site_instance->GetBrowserContext()); |
ExtensionService* service = profile->GetExtensionService(); |
if (!service) |
return; |