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

Unified Diff: content/common/gpu/media/vaapi_video_encode_accelerator.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
Index: content/common/gpu/media/vaapi_video_encode_accelerator.cc
diff --git a/content/common/gpu/media/vaapi_video_encode_accelerator.cc b/content/common/gpu/media/vaapi_video_encode_accelerator.cc
index 3ea4f91d58882642f3c1f10e23458c0e54fadac7..4e46be7906df71086bc4a5d0bf5aec430f9fa7ee 100644
--- a/content/common/gpu/media/vaapi_video_encode_accelerator.cc
+++ b/content/common/gpu/media/vaapi_video_encode_accelerator.cc
@@ -5,12 +5,12 @@
#include "content/common/gpu/media/vaapi_video_encode_accelerator.h"
#include "base/bind.h"
+#include "base/bind_to_current_loop.h"
#include "base/callback.h"
#include "base/message_loop/message_loop_proxy.h"
#include "base/metrics/histogram.h"
#include "base/numerics/safe_conversions.h"
#include "content/common/gpu/media/h264_dpb.h"
-#include "media/base/bind_to_current_loop.h"
#include "third_party/libva/va/va_enc_h264.h"
#define DVLOGF(level) DVLOG(level) << __FUNCTION__ << "(): "
@@ -223,7 +223,7 @@ void VaapiVideoEncodeAccelerator::InitializeTask() {
DCHECK_EQ(state_, kUninitialized);
DVLOGF(4);
- va_surface_release_cb_ = media::BindToCurrentLoop(
+ va_surface_release_cb_ = base::BindToCurrentLoop(
base::Bind(&VaapiVideoEncodeAccelerator::RecycleVASurfaceID,
base::Unretained(this)));

Powered by Google App Engine
This is Rietveld 408576698