Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc |
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc |
index 1bdacb419117f10604196a5aaa6641a514c80ec7..3c2c71ef18f9c1435c9555d47a7a54b06bed1917 100644 |
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc |
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc |
@@ -1396,7 +1396,7 @@ void ChromeLauncherControllerPerApp::UpdateAppLaunchersFromPref() { |
int max_index = model_->item_count(); |
// Using the alternate shelf layout the App Icon should be the first item in |
// the list thus start adding items at slot 1 (instead of slot 0). |
- if(ash::switches::UseAlternateShelfLayout()) { |
+ if (ash::switches::UseAlternateShelfLayout()) { |
++index; |
++max_index; |
} |