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

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: rebase 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
« no previous file with comments | « ash/tooltips/tooltip_controller.cc ('k') | chrome/browser/chromeos/login/view_screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e8085b8e6a55f7141fba24bd249140d6b665d00e..baf433b0a1a86feac08e140d7e90352bf721813c 100644
--- a/chrome/browser/chromeos/input_method/candidate_window.cc
+++ b/chrome/browser/chromeos/input_method/candidate_window.cc
@@ -340,7 +340,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_owned_by_client(); // Won't own
// Initially show nothing.
SetLayoutManager(new views::FillLayout);
@@ -350,7 +350,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_owned_by_client(); // Won't own
}
// Shows the content.
« no previous file with comments | « ash/tooltips/tooltip_controller.cc ('k') | chrome/browser/chromeos/login/view_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698