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

Unified Diff: ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 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/display/chromeos/x11/native_display_event_dispatcher_x11.cc
diff --git a/ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc b/ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc
index 543e27e7f9e396dfe2622ce0e0da02c0a362929d..8b46c4c569dea08190f036388458fbf7b92ffa3b 100644
--- a/ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc
+++ b/ui/display/chromeos/x11/native_display_event_dispatcher_x11.cc
@@ -109,7 +109,7 @@ uint32_t NativeDisplayEventDispatcherX11::DispatchEvent(
}
void NativeDisplayEventDispatcherX11::SetTickClockForTest(
- scoped_ptr<base::TickClock> tick_clock) {
+ std::unique_ptr<base::TickClock> tick_clock) {
tick_clock_ = std::move(tick_clock);
startup_time_ = tick_clock_->NowTicks();
}

Powered by Google App Engine
This is Rietveld 408576698