| Index: chrome/browser/ui/webui/options/extension_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/extension_settings_handler.cc b/chrome/browser/ui/webui/options/extension_settings_handler.cc
|
| index f63f03d803ef34d883a09721b4435610575b1e2e..95de1770d9b2e692691c8a2b82c872786e228333 100644
|
| --- a/chrome/browser/ui/webui/options/extension_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/extension_settings_handler.cc
|
| @@ -31,7 +31,6 @@
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| -#include "content/browser/browsing_instance.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| #include "content/browser/site_instance.h"
|
| #include "content/browser/tab_contents/tab_contents_view.h"
|
| @@ -598,7 +597,7 @@ void ExtensionSettingsHandler::Observe(
|
| case content::NOTIFICATION_RENDER_VIEW_HOST_CREATED:
|
| source_profile = Profile::FromBrowserContext(
|
| content::Source<RenderViewHost>(source)->site_instance()->
|
| - browsing_instance()->browser_context());
|
| + GetBrowserContext());
|
| if (!profile->IsSameProfile(source_profile))
|
| return;
|
| MaybeUpdateAfterNotification();
|
|
|