Index: media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java |
diff --git a/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java b/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java |
index 4b0a1aa6d1ad58c604eada66447ec0250eb49585..733a7a1a6e02fe92ad42513445a4b2cca88a6f41 100644 |
--- a/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java |
+++ b/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java |
@@ -172,7 +172,8 @@ public class MediaPlayerBridge { |
* allowed on the media player. |
*/ |
@CalledByNative |
- private static AllowedOperations getAllowedOperations(MediaPlayer player) { |
+ private static AllowedOperations getAllowedOperations(MediaPlayerBridge bridge) { |
+ MediaPlayer player = bridge.getLocalPlayer(); |
boolean canPause = true; |
boolean canSeekForward = true; |
boolean canSeekBackward = true; |