forked from mirror/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When RegisterApplicationRestart fails with E_INVALIDARG it is supposed to indicate that the command line is too long. This error was hit on a recent test run and it was impossible to do further diagnosis because the command line is not printed, even though it is printed for other failure codes. This change prints the command line in the E_INVALIDARG case. The failure only happened once and was probably a Windows glitch since all evidence is that the command line was short enough. But, still. This change also removes some checks for win::VERSION_VISTA since Chrome requires Windows 7 or higher, and avoids some redundant calls to GetCommandLineString. Review-Url: https://codereview.chromium.org/2756603002 Cr-Commit-Position: refs/heads/master@{#457297}
- Loading branch information
1 parent
38424d5
commit fe785a5
Showing
2 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters