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

Unified Diff: media/base/android/media_codec_decoder_unittest.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 | « mash/test/mash_test_suite.cc ('k') | media/base/android/media_codec_player.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_decoder_unittest.cc
diff --git a/media/base/android/media_codec_decoder_unittest.cc b/media/base/android/media_codec_decoder_unittest.cc
index 2b3a6120a6c3bcc0bd1377fd8ae33e089d921322..5493686a758cd34ca56b3bfc523467f0d69620dc 100644
--- a/media/base/android/media_codec_decoder_unittest.cc
+++ b/media/base/android/media_codec_decoder_unittest.cc
@@ -227,7 +227,7 @@ class MediaCodecDecoderTest : public testing::Test {
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
FrameStatistics frame_statistics_;
DataAvailableCallback data_available_cb_;
- scoped_refptr<gfx::SurfaceTexture> surface_texture_;
+ scoped_refptr<gl::SurfaceTexture> surface_texture_;
DISALLOW_COPY_AND_ASSIGN(MediaCodecDecoderTest);
};
@@ -319,8 +319,8 @@ void MediaCodecDecoderTest::OnDataRequested() {
}
void MediaCodecDecoderTest::SetVideoSurface() {
- surface_texture_ = gfx::SurfaceTexture::Create(0);
- gfx::ScopedJavaSurface surface(surface_texture_.get());
+ surface_texture_ = gl::SurfaceTexture::Create(0);
+ gl::ScopedJavaSurface surface(surface_texture_.get());
ASSERT_NE(nullptr, decoder_.get());
VideoMediaCodecDecoder* video_decoder =
static_cast<VideoMediaCodecDecoder*>(decoder_.get());
@@ -441,9 +441,9 @@ TEST_F(MediaCodecDecoderTest, VideoConfigureInvalidSurface) {
decoder_->SetDemuxerConfigs(GetConfigs());
// Prepare the surface.
- scoped_refptr<gfx::SurfaceTexture> surface_texture(
- gfx::SurfaceTexture::Create(0));
- gfx::ScopedJavaSurface surface(surface_texture.get());
+ scoped_refptr<gl::SurfaceTexture> surface_texture(
+ gl::SurfaceTexture::Create(0));
+ gl::ScopedJavaSurface surface(surface_texture.get());
// Release the surface texture.
surface_texture = NULL;
« no previous file with comments | « mash/test/mash_test_suite.cc ('k') | media/base/android/media_codec_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698