summaryrefslogtreecommitdiffstats
path: root/ui/views/corewm/tooltip_aura.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/corewm/tooltip_aura.cc')
-rw-r--r--ui/views/corewm/tooltip_aura.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/views/corewm/tooltip_aura.cc b/ui/views/corewm/tooltip_aura.cc
index 186d2db..1214a6b 100644
--- a/ui/views/corewm/tooltip_aura.cc
+++ b/ui/views/corewm/tooltip_aura.cc
@@ -66,9 +66,8 @@ TooltipAura::TooltipAura(gfx::ScreenType screen_type)
label_.set_background(
views::Background::CreateSolidBackground(kTooltipBackground));
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoDropShadows)) {
- label_.set_border(
- views::Border::CreateSolidBorder(kTooltipBorderWidth,
- kTooltipBorder));
+ label_.SetBorder(
+ views::Border::CreateSolidBorder(kTooltipBorderWidth, kTooltipBorder));
}
label_.set_owned_by_client();
label_.SetMultiLine(true);