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

Unified Diff: ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc

Issue 10384068: views: Have a more accurate name for View parent_owned accessors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
diff --git a/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc b/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
index 08c92426ca0853991a1f8544c380718496d6e64e..b1cc6cb9b767b80792449afc9f2df86f8d7402ff 100644
--- a/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
+++ b/ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc
@@ -300,7 +300,7 @@ void NativeTabbedPaneViews::AddTabAtIndex(int index,
View* contents,
bool select_if_first_tab) {
DCHECK(index <= static_cast<int>(tab_strip_->child_count()));
- contents->set_parent_owned(false);
+ contents->set_not_owned_by_parent();
contents->SetVisible(false);
tab_strip_->AddChildViewAt(new Tab(tab_strip_, title, contents), index);

Powered by Google App Engine
This is Rietveld 408576698