Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java |
index b05dda7d5c6f48f84e86bd1fedb206333d23629b..76cd86761d8750205f4088ec142ca894f67d2618 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInfo.java |
@@ -331,19 +331,19 @@ public class WebApkInfo extends WebappInfo { |
*/ |
private static int displayModeFromString(String displayMode) { |
if (displayMode == null) { |
- return WebDisplayMode.kUndefined; |
+ return WebDisplayMode.UNDEFINED; |
} |
if (displayMode.equals("fullscreen")) { |
- return WebDisplayMode.kFullscreen; |
+ return WebDisplayMode.FULLSCREEN; |
} else if (displayMode.equals("standalone")) { |
- return WebDisplayMode.kStandalone; |
+ return WebDisplayMode.STANDALONE; |
} else if (displayMode.equals("minimal-ui")) { |
- return WebDisplayMode.kMinimalUi; |
+ return WebDisplayMode.MINIMAL_UI; |
} else if (displayMode.equals("browser")) { |
- return WebDisplayMode.kBrowser; |
+ return WebDisplayMode.BROWSER; |
} else { |
- return WebDisplayMode.kUndefined; |
+ return WebDisplayMode.UNDEFINED; |
} |
} |