Index: chrome/browser/ui/webui/active_downloads_ui.cc |
=================================================================== |
--- chrome/browser/ui/webui/active_downloads_ui.cc (revision 116109) |
+++ chrome/browser/ui/webui/active_downloads_ui.cc (working copy) |
@@ -414,8 +414,7 @@ |
it != BrowserList::end(); |
++it) { |
if ((*it)->is_type_panel() && (*it)->is_app()) { |
- WebContents* web_contents = |
- (*it)->GetSelectedTabContentsWrapper()->web_contents(); |
+ WebContents* web_contents = (*it)->GetSelectedWebContents(); |
DCHECK(web_contents); |
if (!web_contents) |
continue; |