diff options
author | Grant Gayed <grant_gayed@ca.ibm.com> | 2013-04-28 23:47:35 -0400 |
---|---|---|
committer | Grant Gayed <grant_gayed@ca.ibm.com> | 2013-04-28 23:47:35 -0400 |
commit | 7ab3410b8246229b2406a5042027fe1e99336ffd (patch) | |
tree | 6939bbe78fbee0d7cbc65cad25c3245ef977bc9c /bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/External.java | |
parent | 79b3264bcfb1aefdb7fd2a28644ea20314e30e13 (diff) | |
download | eclipse.platform.swt-7ab3410b8246229b2406a5042027fe1e99336ffd.tar.gz eclipse.platform.swt-7ab3410b8246229b2406a5042027fe1e99336ffd.tar.xz eclipse.platform.swt-7ab3410b8246229b2406a5042027fe1e99336ffd.zip |
remove unused methods in some XPCOM wrappers, fix some missing
IsXULRunner17 checks, various other fixes
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/External.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/External.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/External.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/External.java index 4ac867ba02..45911031e5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/External.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/External.java @@ -252,7 +252,7 @@ static Object convertToJava (nsIVariant variant, short type) { arrayReturn = new Object[count[0]]; for (int i = 0; i < count[0]; i++) { /* mozilla's representation of boolean changed from 4 bytes to 1 byte as of XULRunner 4.x */ - if (nsISupports.IsXULRunner10) { + if (nsISupports.IsXULRunner10 || nsISupports.IsXULRunner17) { byte[] byteValue = new byte[1]; C.memmove (byteValue, ptr[0] + i, 1); arrayReturn[i] = new Boolean (byteValue[0] != 0); |