diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 16:19:33 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 16:19:58 +0200 |
commit | 6971bbb2277a260e398b8811be1970f8b3853357 (patch) | |
tree | 8c593b8e09f2cfb457df72d40dc719bb0e0df066 /dom/system | |
parent | f8b5e24d175a9bee266d005d6c81a189044d820b (diff) | |
download | uxp-6971bbb2277a260e398b8811be1970f8b3853357.tar.gz |
Remove MOZ_WIDGET_GONK [1/2]
Tag mcp-graveyard/UXP#288
Diffstat (limited to 'dom/system')
-rw-r--r-- | dom/system/OSFileConstants.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/dom/system/OSFileConstants.cpp b/dom/system/OSFileConstants.cpp index 945233f4c8..86377e75a0 100644 --- a/dom/system/OSFileConstants.cpp +++ b/dom/system/OSFileConstants.cpp @@ -924,16 +924,6 @@ bool DefineOSFileConstants(JSContext *cx, JS::Handle<JSObject*> global) return false; } -#if defined(MOZ_WIDGET_GONK) - JSString* strVersion = JS_NewStringCopyZ(cx, "Gonk"); - if (!strVersion){ - return false; - } - JS::Rooted<JS::Value> valVersion(cx, JS::StringValue(strVersion)); - if (!JS_SetProperty(cx, objSys, "Name", valVersion)) { - return false; - } -#else nsCOMPtr<nsIXULRuntime> runtime = do_GetService(XULRUNTIME_SERVICE_CONTRACTID); if (runtime) { nsAutoCString os; @@ -950,7 +940,6 @@ bool DefineOSFileConstants(JSContext *cx, JS::Handle<JSObject*> global) return false; } } -#endif // defined(MOZ_WIDGET_GONK) #if defined(DEBUG) JS::Rooted<JS::Value> valDebug(cx, JS::TrueValue()); |