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

Unified Diff: ui/views/corewm/tooltip_aura.cc

Issue 2637383003: Change Painter factory functions to unique_ptr (Closed)
Patch Set: msw review Created 3 years, 11 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 | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/painter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/tooltip_aura.cc
diff --git a/ui/views/corewm/tooltip_aura.cc b/ui/views/corewm/tooltip_aura.cc
index 4cce40b0498e12288c56ed6de286764cf6585096..478becc28997cc0be3bb9bbeaefb863d860f8510 100644
--- a/ui/views/corewm/tooltip_aura.cc
+++ b/ui/views/corewm/tooltip_aura.cc
@@ -126,8 +126,8 @@ class TooltipAura::TooltipView : public views::View {
views::Background* background =
CanUseTranslucentTooltipWidget()
? views::Background::CreateBackgroundPainter(
- true, views::Painter::CreateSolidRoundRectPainter(
- background_color, kTooltipCornerRadius))
+ views::Painter::CreateSolidRoundRectPainter(
+ background_color, kTooltipCornerRadius))
: views::Background::CreateSolidBackground(background_color);
set_background(background);
// Force the text color to be readable when |background_color| is not
« no previous file with comments | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698