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

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: Cleanup 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();
+}
PlayerTrackerImpl::~PlayerTrackerImpl() {}
« media/base/android/media_drm_bridge.cc ('K') | « media/base/browser_cdm_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698