Skip to content

Commit

Permalink
Bug 874323 - Continue to launch callback when allow set foreground ca…
Browse files Browse the repository at this point in the history
…ll fails. r=jimm
  • Loading branch information
bbondy committed Jun 12, 2013
1 parent f1bce0c commit 1a6cf7a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions toolkit/mozapps/update/common/updatehelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -769,12 +769,7 @@ IsUnpromptedElevation(BOOL &isUnpromptedElevation)

// Hand off focus rights to the out-of-process activation server. Without
// this the metro interface won't launch.
hr = CoAllowSetForegroundWindow(activateMgr, NULL);
if (FAILED(hr)) {
activateMgr->Release();
CoUninitialize();
return hr;
}
CoAllowSetForegroundWindow(activateMgr, NULL);

// Launch default browser in Metro
DWORD processID;
Expand Down

0 comments on commit 1a6cf7a

Please sign in to comment.