Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5873)

Unified Diff: chrome/browser/ui/views/about_chrome_view.cc

Issue 6452011: Rework tree APIs to reflect Google style and more const-correctness.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/about_chrome_view.cc
===================================================================
--- chrome/browser/ui/views/about_chrome_view.cc (revision 74231)
+++ chrome/browser/ui/views/about_chrome_view.cc (working copy)
@@ -391,7 +391,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()->GetContentsBounds();
+ gfx::Rect parent_bounds = parent()->GetContentsBounds();
sz = throbber_->GetPreferredSize();
int throbber_topleft_x = kPanelHorizMargin;
@@ -825,8 +825,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.
« no previous file with comments | « chrome/browser/chromeos/views/webui_menu_widget.cc ('k') | chrome/browser/ui/views/accessibility_event_router_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698