summaryrefslogtreecommitdiffstats
path: root/ash/tooltips/tooltip_controller.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-12 12:38:53 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-12 12:38:53 +0000
commit22a67da241347952e10ecca48c68ffa3992f9e6d (patch)
tree209742faf477881d66fce2e00ac51734fc5dfcdd /ash/tooltips/tooltip_controller.cc
parentb3ea5f0408f3fed24d93d71130b965a093c36743 (diff)
downloadchromium_src-22a67da241347952e10ecca48c68ffa3992f9e6d.zip
chromium_src-22a67da241347952e10ecca48c68ffa3992f9e6d.tar.gz
chromium_src-22a67da241347952e10ecca48c68ffa3992f9e6d.tar.bz2
views: Have a more accurate name for View parent_owned accessors.
Remove the getter accessor of parent_owned() because it's used only internally by View. And change the setter accessor from set_parent_owned() to set_owned_by_client(). BUG=122384 R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10384068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/tooltips/tooltip_controller.cc')
-rw-r--r--ash/tooltips/tooltip_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/tooltips/tooltip_controller.cc b/ash/tooltips/tooltip_controller.cc
index c1aaa0f..cd1edca 100644
--- a/ash/tooltips/tooltip_controller.cc
+++ b/ash/tooltips/tooltip_controller.cc
@@ -99,7 +99,7 @@ class TooltipController::Tooltip {
views::Border::CreateSolidBorder(kTooltipBorderWidth,
kTooltipBorder));
}
- label_.set_parent_owned(false);
+ label_.set_owned_by_client();
widget_.reset(CreateTooltip());
widget_->SetContentsView(&label_);
widget_->Activate();