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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java

Issue 2815103004: Android: convert kEnumName to ENUM_NAME in java_cpp_enum.py. (Closed)
Patch Set: Address agrieve@ comments Created 3 years, 8 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
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();

Powered by Google App Engine
This is Rietveld 408576698