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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwRendererPriorityManager.java

Issue 2792583002: 📱 Simplify naming of generated java enums IntDefs (Closed)
Patch Set: rebase 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/java/src/org/chromium/android_webview/AwRendererPriorityManager.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwRendererPriorityManager.java b/android_webview/java/src/org/chromium/android_webview/AwRendererPriorityManager.java
index 368831659286435731a9396e195b9d2b8c2ca1bd..d472507c245bd0417d40f7811acdc346f2eef0ef 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwRendererPriorityManager.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwRendererPriorityManager.java
@@ -16,8 +16,7 @@
@JNINamespace("android_webview")
public class AwRendererPriorityManager {
@CalledByNative
- private static void setRendererPriority(
- int pid, @RendererPriority.RendererPriorityEnum int rendererPriority) {
+ private static void setRendererPriority(int pid, @RendererPriority int rendererPriority) {
// TODO(tobiasjs): handle RendererPriority.LOW separately from WAIVED.
ChildProcessLauncher.getBindingManager().setInForeground(
pid, rendererPriority == RendererPriority.HIGH);

Powered by Google App Engine
This is Rietveld 408576698