| Index: chrome/browser/ui/views/about_chrome_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/about_chrome_view.cc (revision 74117)
|
| +++ chrome/browser/ui/views/about_chrome_view.cc (working copy)
|
| @@ -392,7 +392,7 @@
|
|
|
| // Get the y-coordinate of our parent so we can position the text left of the
|
| // buttons at the bottom.
|
| - gfx::Rect parent_bounds = GetParent()->GetLocalBounds();
|
| + gfx::Rect parent_bounds = parent()->GetLocalBounds();
|
|
|
| sz = throbber_->GetPreferredSize();
|
| int throbber_topleft_x = kPanelHorizMargin;
|
| @@ -429,8 +429,7 @@
|
| sz.height());
|
|
|
| if (!accessible_view_helper_.get())
|
| - accessible_view_helper_.reset(
|
| - new AccessibleViewHelper(GetParent(), profile_));
|
| + accessible_view_helper_.reset(new AccessibleViewHelper(parent(), profile_));
|
| }
|
|
|
|
|
| @@ -830,8 +829,7 @@
|
| throbber_->Stop();
|
|
|
| // We have updated controls on the parent, so we need to update its layout.
|
| - View* parent = GetParent();
|
| - parent->Layout();
|
| + parent()->Layout();
|
|
|
| // Check button may have appeared/disappeared. We cannot call this during
|
| // ViewHierarchyChanged because the |window()| pointer hasn't been set yet.
|
|
|