Index: content/browser/media/android/media_drm_credential_manager.cc |
diff --git a/content/browser/media/android/media_drm_credential_manager.cc b/content/browser/media/android/media_drm_credential_manager.cc |
index e419b04f4344869aebcc1ed4dc8eb8ac55532c68..50d66538db8b051d494f4b488a94ab6bdce7f7f3 100644 |
--- a/content/browser/media/android/media_drm_credential_manager.cc |
+++ b/content/browser/media/android/media_drm_credential_manager.cc |
@@ -9,7 +9,8 @@ |
#include "base/bind.h" |
#include "base/callback_helpers.h" |
#include "base/location.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "jni/MediaDrmCredentialManager_jni.h" |
#include "media/base/android/media_drm_bridge.h" |
#include "url/gurl.h" |
@@ -101,7 +102,7 @@ bool MediaDrmCredentialManager::ResetCredentialsInternal( |
if (!media_drm_bridge_->SetSecurityLevel(security_level)) { |
// No need to reset credentials for unsupported |security_level|. |
- base::MessageLoopProxy::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::Bind(reset_credentials_cb, true)); |
return true; |
} |