Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java |
index 33c6e5f2c5b39e38d89907cd975998af5b51e36c..95ffc65c3e15a5a0218309663684f47f502bd346 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java |
@@ -132,7 +132,7 @@ public class WebappActivity extends FullScreenActivity { |
getActivityTab().addObserver(createTabObserver()); |
getActivityTab().getTabWebContentsDelegateAndroid().setDisplayMode( |
mWebappInfo.displayMode()); |
- if (mWebappInfo.displayMode() == WebDisplayMode.kFullscreen) { |
+ if (mWebappInfo.displayMode() == WebDisplayMode.FULLSCREEN) { |
enterImmersiveMode(); |
} |
} |
@@ -473,13 +473,13 @@ public class WebappActivity extends FullScreenActivity { |
return new ChromeFullscreenManager(this, false) { |
@Override |
public void setPersistentFullscreenMode(boolean enabled) { |
- if (mWebappInfo.displayMode() == WebDisplayMode.kFullscreen) return; |
+ if (mWebappInfo.displayMode() == WebDisplayMode.FULLSCREEN) return; |
super.setPersistentFullscreenMode(enabled); |
} |
@Override |
public boolean getPersistentFullscreenMode() { |
- if (mWebappInfo.displayMode() == WebDisplayMode.kFullscreen) return false; |
+ if (mWebappInfo.displayMode() == WebDisplayMode.FULLSCREEN) return false; |
return super.getPersistentFullscreenMode(); |
} |
}; |