diff options
author | Grant Gayed <ggayed> | 2010-07-27 16:27:13 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2010-07-27 16:27:13 +0000 |
commit | ed547c78f3e3a58841df447bce216dbfb4c38b12 (patch) | |
tree | c3bf914b8fe1a42f407bf4f3f8590f5c18a004d0 /bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon | |
parent | b19c3dd8147612fd76c3b6c16abbc1b6a8b4ef63 (diff) | |
download | eclipse.platform.swt-ed547c78f3e3a58841df447bce216dbfb4c38b12.tar.gz eclipse.platform.swt-ed547c78f3e3a58841df447bce216dbfb4c38b12.tar.xz eclipse.platform.swt-ed547c78f3e3a58841df447bce216dbfb4c38b12.zip |
316252 - Wrong usage of C.free()
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon/org/eclipse/swt/browser/MozillaDelegate.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon/org/eclipse/swt/browser/MozillaDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon/org/eclipse/swt/browser/MozillaDelegate.java index 83933ff64f..9b32d7b748 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon/org/eclipse/swt/browser/MozillaDelegate.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon/org/eclipse/swt/browser/MozillaDelegate.java @@ -41,6 +41,10 @@ static Browser findBrowser (int handle) { return null; } +static String getLibraryName () { + return "libxpcom.dylib"; //$NON-NLS-1$ +} + static char[] mbcsToWcs (String codePage, byte [] buffer) { int encoding = OS.CFStringGetSystemEncoding (); int cfstring = OS.CFStringCreateWithBytes (OS.kCFAllocatorDefault, buffer, buffer.length, encoding, false); @@ -202,10 +206,6 @@ String getJSLibraryName () { return "libmozjs.dylib"; //$NON-NLS-1$ } -String getLibraryName () { - return "libxpcom.dylib"; //$NON-NLS-1$ -} - String getProfilePath () { String baseDir = System.getProperty ("user.home"); //$NON-NLS-1$ return baseDir + Mozilla.SEPARATOR_OS + ".mozilla" + Mozilla.SEPARATOR_OS + "eclipse"; //$NON-NLS-1$ //$NON-NLS-2$ |