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

Unified Diff: media/base/android/video_decoder_job.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
« no previous file with comments | « media/base/android/video_decoder_job.h ('k') | media/base/android/video_media_codec_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/video_decoder_job.cc
diff --git a/media/base/android/video_decoder_job.cc b/media/base/android/video_decoder_job.cc
index 8f81c0fdd0572bc672cc5db2637fed31d68ae9a4..bca7fa4afb4be1cdd9237fe33ff8ff412092cbda 100644
--- a/media/base/android/video_decoder_job.cc
+++ b/media/base/android/video_decoder_job.cc
@@ -42,7 +42,7 @@ VideoDecoderJob::VideoDecoderJob(
VideoDecoderJob::~VideoDecoderJob() {}
-bool VideoDecoderJob::SetVideoSurface(gfx::ScopedJavaSurface surface) {
+bool VideoDecoderJob::SetVideoSurface(gl::ScopedJavaSurface surface) {
// For an empty surface, always pass it to the |media_codec_bridge_| job so
// that it can detach from the current one. Otherwise, don't pass an
// unprotected surface if the video content requires a protected one.
@@ -62,7 +62,7 @@ bool VideoDecoderJob::HasStream() const {
void VideoDecoderJob::ReleaseDecoderResources() {
MediaDecoderJob::ReleaseDecoderResources();
- surface_ = gfx::ScopedJavaSurface();
+ surface_ = gl::ScopedJavaSurface();
}
void VideoDecoderJob::SetDemuxerConfigs(const DemuxerConfigs& configs) {
« no previous file with comments | « media/base/android/video_decoder_job.h ('k') | media/base/android/video_media_codec_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698