Index: android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java |
index f746c14841745631d0ceb3ff8a8fd61bd3257ab0..e4caf5b08e9132494cbcd452fad063d8cd1b085e 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java |
@@ -30,7 +30,7 @@ public class KeySystemTest extends AwTestBase { |
private static class EmeAllowingAwContentsClient extends TestAwContentsClient { |
@Override |
public void onPermissionRequest(AwPermissionRequest awPermissionRequest) { |
- if (awPermissionRequest.getResources() == Resource.ProtectedMediaId) { |
+ if (awPermissionRequest.getResources() == Resource.PROTECTED_MEDIA_ID) { |
awPermissionRequest.grant(); |
} else { |
awPermissionRequest.deny(); |