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

Unified Diff: chrome/browser/ui/views/bookmark_editor_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/bookmark_editor_view.cc
===================================================================
--- chrome/browser/ui/views/bookmark_editor_view.cc (revision 74231)
+++ chrome/browser/ui/views/bookmark_editor_view.cc (working copy)
@@ -139,7 +139,7 @@
// Manually lay out the New Folder button in the same row as the OK/Cancel
// buttons...
- gfx::Rect parent_bounds = GetParent()->GetContentsBounds();
+ gfx::Rect parent_bounds = parent()->GetContentsBounds();
gfx::Size prefsize = new_group_button_->GetPreferredSize();
int button_y =
parent_bounds.bottom() - prefsize.height() - views::kButtonVEdgeMargin;
@@ -403,7 +403,7 @@
void BookmarkEditorView::Reset() {
if (!show_tree_) {
- if (GetParent())
+ if (parent())
UserInputChanged();
return;
}
@@ -422,7 +422,7 @@
context_menu_.reset();
- if (GetParent())
+ if (parent())
ExpandAndSelect();
}
GURL BookmarkEditorView::GetInputURL() const {
« no previous file with comments | « chrome/browser/ui/views/bookmark_bar_view_test.cc ('k') | chrome/browser/ui/views/bookmark_editor_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698