summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/hung_renderer_view.cc
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 21:09:11 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 21:09:11 +0000
commit7ccc52b7e9a9792bc72e4852de9ac7e3ac189235 (patch)
tree42d4ad23dc0ae33cd3d5e465b5bc2ee5b56a0029 /chrome/browser/views/hung_renderer_view.cc
parentefc6544b43973ee7dfed1f7e56986982e42ebee0 (diff)
downloadchromium_src-7ccc52b7e9a9792bc72e4852de9ac7e3ac189235.zip
chromium_src-7ccc52b7e9a9792bc72e4852de9ac7e3ac189235.tar.gz
chromium_src-7ccc52b7e9a9792bc72e4852de9ac7e3ac189235.tar.bz2
Add PreferredSizeChanged() to View to allow subviews to notify their parents that they'd really like another layout.R=skyTEST=none
Review URL: http://codereview.chromium.org/113133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/hung_renderer_view.cc')
-rw-r--r--chrome/browser/views/hung_renderer_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/hung_renderer_view.cc b/chrome/browser/views/hung_renderer_view.cc
index bb13f3e..ae0ac20 100644
--- a/chrome/browser/views/hung_renderer_view.cc
+++ b/chrome/browser/views/hung_renderer_view.cc
@@ -347,7 +347,7 @@ void HungRendererDialogView::Init() {
hung_pages_table_ = new views::GroupTableView(
hung_pages_table_model_.get(), columns, views::ICON_AND_TEXT, true,
false, true);
- hung_pages_table_->set_preferred_size(
+ hung_pages_table_->SetPreferredSize(
gfx::Size(kTableViewWidth, kTableViewHeight));
CreateKillButtonView();