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

Unified Diff: media/base/android/media_player_bridge.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/media_player_bridge.h ('k') | media/base/android/media_source_player.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_player_bridge.cc
diff --git a/media/base/android/media_player_bridge.cc b/media/base/android/media_player_bridge.cc
index 50a0af3ee50730c0f66cc1ff965ee2ee666ec901..0014d81db686a8f05cf54e8fba982983b485963d 100644
--- a/media/base/android/media_player_bridge.cc
+++ b/media/base/android/media_player_bridge.cc
@@ -129,7 +129,7 @@ void MediaPlayerBridge::SetDuration(base::TimeDelta duration) {
duration_ = duration;
}
-void MediaPlayerBridge::SetVideoSurface(gfx::ScopedJavaSurface surface) {
+void MediaPlayerBridge::SetVideoSurface(gl::ScopedJavaSurface surface) {
surface_ = std::move(surface);
if (j_media_player_bridge_.is_null())
@@ -413,7 +413,7 @@ void MediaPlayerBridge::Release() {
prepared_ = false;
pending_play_ = false;
- SetVideoSurface(gfx::ScopedJavaSurface());
+ SetVideoSurface(gl::ScopedJavaSurface());
JNIEnv* env = base::android::AttachCurrentThread();
Java_MediaPlayerBridge_release(env, j_media_player_bridge_.obj());
j_media_player_bridge_.Reset();
« no previous file with comments | « media/base/android/media_player_bridge.h ('k') | media/base/android/media_source_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698