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

Unified Diff: ui/views/controls/scrollbar/overlay_scroll_bar.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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/menu/menu_item_view.cc ('k') | ui/views/examples/button_sticker_sheet.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/overlay_scroll_bar.cc
diff --git a/ui/views/controls/scrollbar/overlay_scroll_bar.cc b/ui/views/controls/scrollbar/overlay_scroll_bar.cc
index 4c0a6d57fdb3d489ca4a90896a5a7bca58e462fd..83d7a58ba6dca52f64edf15a47581667889510dd 100644
--- a/ui/views/controls/scrollbar/overlay_scroll_bar.cc
+++ b/ui/views/controls/scrollbar/overlay_scroll_bar.cc
@@ -110,7 +110,7 @@ void OverlayScrollBar::Thumb::OnStateChanged() {
OverlayScrollBar::OverlayScrollBar(bool horizontal)
: BaseScrollBar(horizontal), hide_timer_(false, false) {
- auto thumb = new Thumb(this);
+ auto* thumb = new Thumb(this);
SetThumb(thumb);
thumb->Init();
set_notify_enter_exit_on_child(true);
« no previous file with comments | « ui/views/controls/menu/menu_item_view.cc ('k') | ui/views/examples/button_sticker_sheet.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698