Index: chrome/installer/util/shell_util.cc |
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc |
index 229abe52f79b9b56664f144c7750c697bdd8306b..2dc53ef030a988f9c8045d235cebf828f154de85 100644 |
--- a/chrome/installer/util/shell_util.cc |
+++ b/chrome/installer/util/shell_util.cc |
@@ -1130,6 +1130,8 @@ string16 ShellUtil::BuildAppModelId( |
app_id.append(component); |
} |
} |
+ // No spaces are allowed in the AppUserModelId according to MSDN. |
+ ReplaceChars(app_id, L" ", L"_", &app_id); |
return app_id; |
} |