diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 23:19:42 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 23:19:42 +0000 |
commit | b680ad2269af98da01b992e15130e18bfcb7783c (patch) | |
tree | d20c4bf1b3eec9ba7cc761b5a93985eccbe22ed8 /chrome/browser/views/frame | |
parent | 7fd4cc37ca4361f04bb45da1ec06210e84c7c303 (diff) | |
download | chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.zip chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.tar.gz chromium_src-b680ad2269af98da01b992e15130e18bfcb7783c.tar.bz2 |
Remove TabContnetsType from everywhere.
I also removed the notion of the "active" tab contents since there is only one
per tab now, and all the messages to replace them.
Review URL: http://codereview.chromium.org/67173
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame')
-rw-r--r-- | chrome/browser/views/frame/browser_view.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc index 5bd1fbc..2a00dc3 100644 --- a/chrome/browser/views/frame/browser_view.cc +++ b/chrome/browser/views/frame/browser_view.cc @@ -828,11 +828,9 @@ void BrowserView::ShowReportBugDialog() { current_tab); if (current_tab->controller()->GetLastCommittedEntry()) { - if (current_tab->type() == TAB_CONTENTS_WEB) { - // URL for the current page - bug_report_view->SetUrl( - current_tab->controller()->GetActiveEntry()->url()); - } + // URL for the current page + bug_report_view->SetUrl( + current_tab->controller()->GetActiveEntry()->url()); } // retrieve the application version info |