Bug 1287946 - Update existing code to use mozilla::java; r=me

This commit is contained in:
Jim Chen
2016-07-21 00:42:26 -04:00
parent 550a6c6f80
commit 0ea27022be
67 changed files with 209 additions and 218 deletions

View File

@@ -61,7 +61,7 @@ static nsresult MacErrorMapper(OSErr inErr);
#endif
#ifdef MOZ_WIDGET_ANDROID
#include "AndroidBridge.h"
#include "GeneratedJNIWrappers.h"
#include "nsIMIMEService.h"
#include <linux/magic.h>
#endif
@@ -2023,7 +2023,7 @@ nsLocalFile::Launch()
}
nsAutoCString fileUri = NS_LITERAL_CSTRING("file://") + mPath;
return widget::GeckoAppShell::OpenUriExternal(
return java::GeckoAppShell::OpenUriExternal(
NS_ConvertUTF8toUTF16(fileUri),
NS_ConvertUTF8toUTF16(type),
EmptyString(),