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

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

Issue 2837863004: Use base::OneShotTimer instead of base::Timer(false, false)
Patch Set: rebase Created 3 years, 8 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
Index: ui/views/controls/scrollbar/overlay_scroll_bar.h
diff --git a/ui/views/controls/scrollbar/overlay_scroll_bar.h b/ui/views/controls/scrollbar/overlay_scroll_bar.h
index 5e4dac96a8de1ea05da775a63ba164debb1475a3..8cb3f409d959ddcf943f62532d3e3fd8c2cacf42 100644
--- a/ui/views/controls/scrollbar/overlay_scroll_bar.h
+++ b/ui/views/controls/scrollbar/overlay_scroll_bar.h
@@ -59,7 +59,7 @@ class VIEWS_EXPORT OverlayScrollBar : public BaseScrollBar {
// Starts a countdown that hides this when it fires.
void StartHideCountdown();
- base::Timer hide_timer_;
+ base::OneShotTimer hide_timer_;
DISALLOW_COPY_AND_ASSIGN(OverlayScrollBar);
};
« no previous file with comments | « remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc ('k') | ui/views/controls/scrollbar/overlay_scroll_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698