| Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/extensions/extension_settings_handler.cc (revision 138369)
|
| +++ chrome/browser/ui/webui/extensions/extension_settings_handler.cc (working copy)
|
| @@ -801,13 +801,14 @@
|
| for (std::set<RenderViewHost*>::const_iterator iter = views.begin();
|
| iter != views.end(); ++iter) {
|
| RenderViewHost* host = *iter;
|
| - int host_type = host->GetDelegate()->GetRenderViewType();
|
| + WebContents* web_contents = WebContents::FromRenderViewHost(host);
|
| + chrome::ViewType host_type = chrome::GetViewType(web_contents);
|
| if (host == deleting_rvh_ ||
|
| chrome::VIEW_TYPE_EXTENSION_POPUP == host_type ||
|
| chrome::VIEW_TYPE_EXTENSION_DIALOG == host_type)
|
| continue;
|
|
|
| - GURL url = host->GetDelegate()->GetURL();
|
| + GURL url = web_contents->GetURL();
|
| content::RenderProcessHost* process = host->GetProcess();
|
| result->push_back(
|
| ExtensionPage(url, process->GetID(), host->GetRoutingID(),
|
|
|