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

Unified Diff: chromecast/media/cma/base/buffering_frame_provider.cc

Issue 1083883003: Move BindToCurrentLoop from media/base/ to base/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix media/base/callback_holder.h compile Created 5 years, 8 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 | « chromecast/browser/media/cma_message_filter_host.cc ('k') | chromecast/media/cma/filters/cma_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/base/buffering_frame_provider.cc
diff --git a/chromecast/media/cma/base/buffering_frame_provider.cc b/chromecast/media/cma/base/buffering_frame_provider.cc
index b8d56985da487bd9686c0e46aac40ee42bd2cb11..2439d383395ff8535feb12636f0104ee7fd97453 100644
--- a/chromecast/media/cma/base/buffering_frame_provider.cc
+++ b/chromecast/media/cma/base/buffering_frame_provider.cc
@@ -5,10 +5,10 @@
#include "chromecast/media/cma/base/buffering_frame_provider.h"
#include "base/bind.h"
+#include "base/bind_to_current_loop.h"
#include "base/callback_helpers.h"
#include "chromecast/media/cma/base/buffering_state.h"
#include "chromecast/media/cma/base/decoder_buffer_base.h"
-#include "media/base/bind_to_current_loop.h"
#include "media/base/buffers.h"
namespace chromecast {
@@ -114,7 +114,7 @@ void BufferingFrameProvider::RequestBufferIfNeeded() {
return;
is_pending_request_ = true;
- coded_frame_provider_->Read(BindToCurrentLoop(
+ coded_frame_provider_->Read(base::BindToCurrentLoop(
base::Bind(&BufferingFrameProvider::OnNewBuffer, weak_this_)));
}
« no previous file with comments | « chromecast/browser/media/cma_message_filter_host.cc ('k') | chromecast/media/cma/filters/cma_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698