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

Unified Diff: media/gpu/avda_codec_allocator.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (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 | « ios/web/web_state/http_auth_inttest.mm ('k') | mojo/android/system/watcher_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/avda_codec_allocator.cc
diff --git a/media/gpu/avda_codec_allocator.cc b/media/gpu/avda_codec_allocator.cc
index 0c6cd74fc66bcc019674225faf55c89e67bd0478..d9b1c8e429fd30072e48495149212a36f46f05a9 100644
--- a/media/gpu/avda_codec_allocator.cc
+++ b/media/gpu/avda_codec_allocator.cc
@@ -341,7 +341,7 @@ AVDACodecAllocator::AVDACodecAllocator(base::TickClock* tick_clock,
base::WaitableEvent* stop_event)
: stop_event_for_testing_(stop_event), weak_this_factory_(this) {
// We leak the clock we create, but that's okay because we're a singleton.
- auto clock = tick_clock ? tick_clock : new base::DefaultTickClock();
+ auto* clock = tick_clock ? tick_clock : new base::DefaultTickClock();
// Create threads with names and indices that match up with TaskType.
threads_.push_back(new ThreadAndHangDetector("AVDAAutoThread", clock));
« no previous file with comments | « ios/web/web_state/http_auth_inttest.mm ('k') | mojo/android/system/watcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698