Index: chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java b/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java |
index f98c1f8889bdea75434adaa2e7d14609c3d4875e..6f0472dc2c3970ccd6c0a53cab0ec1f56ceffa80 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java |
@@ -35,6 +35,8 @@ |
CommandLine commandLine = CommandLine.getInstance(); |
if (commandLine.hasSwitch(ChromeSwitches.DISABLE_FULLSCREEN)) return; |
+ commandLine.appendSwitch(ContentSwitches.ENABLE_TOP_CONTROLS_POSITION_CALCULATION); |
+ |
TypedValue threshold = new TypedValue(); |
resources.getValue(R.floats.top_controls_show_threshold, threshold, true); |
commandLine.appendSwitchWithValue( |