Index: base/win/win_util.cc |
diff --git a/base/win/win_util.cc b/base/win/win_util.cc |
index 96507d55606bff674d69b34ba8bc98e33e4f7c42..2f2e7dc76214ca9ad8b4b2fae993f2688b1cb649 100644 |
--- a/base/win/win_util.cc |
+++ b/base/win/win_util.cc |
@@ -180,10 +180,10 @@ bool SetStringValueForPropertyStore(IPropertyStore* property_store, |
bool SetAppIdForPropertyStore(IPropertyStore* property_store, |
const wchar_t* app_id) { |
- // App id should be less than 128 chars and contain no space. And recommended |
+ // App id should be less than 64 chars and contain no space. And recommended |
// format is CompanyName.ProductName[.SubProduct.ProductNumber]. |
// See http://msdn.microsoft.com/en-us/library/dd378459%28VS.85%29.aspx |
- DCHECK(lstrlen(app_id) < 128 && wcschr(app_id, L' ') == NULL); |
+ DCHECK(lstrlen(app_id) < 64 && wcschr(app_id, L' ') == NULL); |
return SetStringValueForPropertyStore(property_store, |
PKEY_AppUserModel_ID, |