Bug 1522694: Add a toolkit level API for determining if this is the default instance of the application. r=mconley

This also switches around a few preprocessor lines to make more sense.

Differential Revision: https://phabricator.services.mozilla.com/D17557
This commit is contained in:
Dave Townsend
2019-01-25 20:03:15 +00:00
parent 4e02b4f629
commit 776ddb35dd
12 changed files with 84 additions and 28 deletions

View File

@@ -66,7 +66,7 @@ using mozilla::IsWin8OrLater;
using namespace mozilla;
using namespace mozilla::widget;
NS_IMPL_ISUPPORTS(nsWindowsShellService, nsIShellService)
NS_IMPL_ISUPPORTS(nsWindowsShellService, nsIToolkitShellService, nsIShellService)
static nsresult OpenKeyForReading(HKEY aKeyRoot, const nsAString& aKeyName,
HKEY* aKey) {