diff options
Diffstat (limited to 'chrome/browser/views/hung_renderer_view.cc')
-rw-r--r-- | chrome/browser/views/hung_renderer_view.cc | 2 |
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 92f68b7..5e5a411 100644 --- a/chrome/browser/views/hung_renderer_view.cc +++ b/chrome/browser/views/hung_renderer_view.cc @@ -314,7 +314,7 @@ void HungRendererWarningView::ButtonPressed(views::NativeButton* sender) { void HungRendererWarningView::ViewHierarchyChanged(bool is_add, views::View* parent, views::View* child) { - if (!initialized_ && is_add && child == this && GetContainer()) + if (!initialized_ && is_add && child == this && GetWidget()) Init(); } |