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

Unified Diff: media/gpu/android_video_decode_accelerator.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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/gpu/android_video_decode_accelerator.cc
diff --git a/media/gpu/android_video_decode_accelerator.cc b/media/gpu/android_video_decode_accelerator.cc
index 51fd925d45a5278ac1ea9b8132e6108a5635535e..97e8931c0a46fb4dd0eb571d982fec59d8c85dc7 100644
--- a/media/gpu/android_video_decode_accelerator.cc
+++ b/media/gpu/android_video_decode_accelerator.cc
@@ -133,7 +133,7 @@ class AndroidVideoDecodeAccelerator::OnFrameAvailableHandler
// |surface_texture| to receive OnFrameAvailable callbacks.
OnFrameAvailableHandler(
AndroidVideoDecodeAccelerator* owner,
- const scoped_refptr<gfx::SurfaceTexture>& surface_texture)
+ const scoped_refptr<gl::SurfaceTexture>& surface_texture)
: owner_(owner) {
// Note that the callback owns a strong ref to us.
surface_texture->SetFrameAvailableCallbackOnAnyThread(
@@ -526,7 +526,7 @@ bool AndroidVideoDecodeAccelerator::InitializeStrategy() {
on_destroying_surface_cb_);
// TODO(watk,liberato): move this into the strategy.
- scoped_refptr<gfx::SurfaceTexture> surface_texture =
+ scoped_refptr<gl::SurfaceTexture> surface_texture =
strategy_->GetSurfaceTexture();
if (surface_texture) {
on_frame_available_handler_ =
« no previous file with comments | « media/gpu/android_video_decode_accelerator.h ('k') | media/gpu/android_video_decode_accelerator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698