summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/download
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 17:51:50 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 17:51:50 +0000
commit46259b15f6c35c0ee21ffb57990a5301ae3f7b03 (patch)
tree0d7371b1cb59edc723d125d4bba3f5ee91bc2955 /chrome/browser/ui/views/download
parentd8b037617b86abc794875d99a4a92b3940f70707 (diff)
downloadchromium_src-46259b15f6c35c0ee21ffb57990a5301ae3f7b03.zip
chromium_src-46259b15f6c35c0ee21ffb57990a5301ae3f7b03.tar.gz
chromium_src-46259b15f6c35c0ee21ffb57990a5301ae3f7b03.tar.bz2
Fixes a bunch of crashes from my Widget removal yesterday. These places were not overriding GetWidget() from WidgetDelegate. I have made them either subclass Widget/DialogDelegateView in the cases where the delegate is-a view, or override GetWidget in the case where the delegate is not a view.
Re-enables an affected test. BUG=none TEST=none Review URL: http://codereview.chromium.org/7149021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/download')
-rw-r--r--chrome/browser/ui/views/download/download_in_progress_dialog_view.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/download/download_in_progress_dialog_view.h b/chrome/browser/ui/views/download/download_in_progress_dialog_view.h
index eac09ae..4d51f74 100644
--- a/chrome/browser/ui/views/download/download_in_progress_dialog_view.h
+++ b/chrome/browser/ui/views/download/download_in_progress_dialog_view.h
@@ -24,8 +24,7 @@ namespace views {
class Label;
}
-class DownloadInProgressDialogView : public views::View,
- public views::DialogDelegate {
+class DownloadInProgressDialogView : public views::DialogDelegateView {
public:
explicit DownloadInProgressDialogView(Browser* browser);
virtual ~DownloadInProgressDialogView();