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

Unified Diff: media/cdm/player_tracker_impl.cc

Issue 1341883003: Prepare MediaDrmBridge to work with MediaCodecPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bug526755
Patch Set: Moved GetMEdiaTaskRunner() and UseMediaThread() to a separate file, renamed the latter Created 5 years, 3 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: media/cdm/player_tracker_impl.cc
diff --git a/media/cdm/player_tracker_impl.cc b/media/cdm/player_tracker_impl.cc
index 8f102bd724e18ac00a200e2bfb4efd330b040131..4c29d7a8ec86df00577259b835b47fa926ff52b4 100644
--- a/media/cdm/player_tracker_impl.cc
+++ b/media/cdm/player_tracker_impl.cc
@@ -19,7 +19,9 @@ PlayerTrackerImpl::PlayerCallbacks::PlayerCallbacks(
PlayerTrackerImpl::PlayerCallbacks::~PlayerCallbacks() {
}
-PlayerTrackerImpl::PlayerTrackerImpl() : next_registration_id_(1) {}
+PlayerTrackerImpl::PlayerTrackerImpl() : next_registration_id_(1) {
+ thread_checker_.DetachFromThread();
xhwang 2015/09/29 17:28:24 nit: add a comment why we need this?
Tima Vaisburd 2015/09/29 19:55:44 Done.
+}
PlayerTrackerImpl::~PlayerTrackerImpl() {}

Powered by Google App Engine
This is Rietveld 408576698