Index: media/filters/default_media_permission.cc |
diff --git a/media/filters/default_media_permission.cc b/media/filters/default_media_permission.cc |
index 80d7093f71d2250774819cd1fe80120b0e904329..60623b9a781d6f5aa031cbb7453ba094aec1c35a 100644 |
--- a/media/filters/default_media_permission.cc |
+++ b/media/filters/default_media_permission.cc |
@@ -7,7 +7,8 @@ |
#include "base/bind.h" |
#include "base/location.h" |
#include "base/logging.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
namespace media { |
@@ -25,7 +26,7 @@ static void FirePermissionStatusCallback( |
"real user's consent. This should NOT be used for in a real " |
"user-facing product."; |
// Return the callback asynchronously. |
- base::MessageLoopProxy::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::Bind(permission_status_cb, allow)); |
} |