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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window.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: chrome/browser/chromeos/input_method/candidate_window.cc
diff --git a/chrome/browser/chromeos/input_method/candidate_window.cc b/chrome/browser/chromeos/input_method/candidate_window.cc
index 4445c82c13339f2a14d5fc80e02418ee287b0ef9..2955fbbe10a7b2339b0a1592600cfcca0bcbb0bd 100644
--- a/chrome/browser/chromeos/input_method/candidate_window.cc
+++ b/chrome/browser/chromeos/input_method/candidate_window.cc
@@ -336,7 +336,7 @@ class HidableArea : public views::View {
// In other words, the HidableArea only contains one of the two views
// hence cannot own the two views at the same time.
place_holder_.reset(new views::View);
- place_holder_->set_parent_owned(false); // Won't own
+ place_holder_->set_not_owned_by_parent(); // Won't own
// Initially show nothing.
SetLayoutManager(new views::FillLayout);
@@ -346,7 +346,7 @@ class HidableArea : public views::View {
// Sets the content view.
void SetContents(views::View* contents) {
contents_.reset(contents);
- contents_->set_parent_owned(false); // Won't own
+ contents_->set_not_owned_by_parent(); // Won't own
}
// Shows the content.

Powered by Google App Engine
This is Rietveld 408576698