Bug 1852754: part 9) Add tests for dynamically loading <link rel="prefetch"> elements...
[gecko.git] / toolkit / xre / nsNativeAppSupportDefault.cpp
bloba65ac4e1a547c2391226dd26b441436a6ea92fde
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsNativeAppSupportBase.h"
7 nsresult NS_CreateNativeAppSupport(nsINativeAppSupport** aResult) {
8 nsNativeAppSupportBase* native = new nsNativeAppSupportBase();
9 if (!native) return NS_ERROR_OUT_OF_MEMORY;
11 *aResult = native;
12 NS_ADDREF(*aResult);
14 return NS_OK;