Bug 916233 - External links in Metro should open in Metro. r=jimm
authorBrian R. Bondy <netzen@gmail.com>
Tue, 17 Sep 2013 07:02:01 -0700
changeset 147577 d7c49f9c66c3ece33173c61fbbe35a7aba3e9172
parent 147576 dea697e42d70276d9ed0fdd8917e44cc88b5d317
child 147578 db58872e6aaf9097ff5d2e449fe084a2c31b06de
push id25307
push userryanvm@gmail.com
push dateWed, 18 Sep 2013 02:44:29 +0000
treeherdermozilla-central@44f4567699ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm
bugs916233
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 916233 - External links in Metro should open in Metro. r=jimm
browser/metro/shell/commandexecutehandler/CommandExecuteHandler.cpp
--- a/browser/metro/shell/commandexecutehandler/CommandExecuteHandler.cpp
+++ b/browser/metro/shell/commandexecutehandler/CommandExecuteHandler.cpp
@@ -708,17 +708,17 @@ IFACEMETHODIMP CExecuteCommandVerb::Exec
 
   // Launch on the desktop
   if (mIsDesktopRequest) {
     LaunchDesktopBrowser();
     return S_OK;
   }
 
   CComPtr<IApplicationActivationManager> activateMgr;
-  if (!PrepareActivationManager(activateMgr)) {
+  if (FAILED(PrepareActivationManager(activateMgr))) {
       LaunchDesktopBrowser();
       return S_OK;
   }
 
   HRESULT hr;
   WCHAR appModelID[256];
   if (!GetDefaultBrowserAppModelID(appModelID)) {
     Log(L"GetDefaultBrowserAppModelID failed, launching on desktop.");