Don't crash if the CF Tests are not running as admin.

BUG=NONE
TEST=NONE


Review URL: http://codereview.chromium.org/9533009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124426 0039d316-1c4b-4281-b951-d872f2087c98
parent c53a572a
......@@ -123,10 +123,11 @@ void ScopedChromeFrameRegistrar::DoRegistration(
}
if (exit_code != 0) {
if (registration_operation == REGISTER) {
LOG(FATAL)
LOG(ERROR)
<< "DLL registration failed (exit code: 0x" << std::hex << exit_code
<< ", command: " << registration_command
<< "). Make sure you are running as Admin.";
::ExitProcess(1);
} else {
LOG(WARNING)
<< "DLL unregistration failed (exit code: 0x" << std::hex << exit_code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment