diff dwt/browser/Download_1_8.d @ 352:a3c5f744d03f

Update Browser/Mozilla package to SWT 3.4.1 and bug fixes
author John Reimer <terminal.node@gmail.com>
date Tue, 04 Nov 2008 21:20:45 -0800
parents 9a4d7706df52
children
line wrap: on
line diff
--- a/dwt/browser/Download_1_8.d	Mon Nov 03 23:35:30 2008 +0100
+++ b/dwt/browser/Download_1_8.d	Tue Nov 04 21:20:45 2008 -0800
@@ -118,7 +118,7 @@
     // nsIURI source = new nsIURI (aSource);
     scope auto aSpec = new nsEmbedCString;
     int rc = aSource.GetHost (cast(nsACString*)aSpec);
-    if (rc !is XPCOM.NS_OK) Mozilla.error(rc);
+    if (rc !is XPCOM.NS_OK) Mozilla.error(rc,__FILE__,__LINE__);
     //int length = XPCOM.nsEmbedCString_Length (aSpec);
     //int /*long*/ buffer = XPCOM.nsEmbedCString_get (aSpec);
     //byte[] dest = new byte[length];
@@ -148,7 +148,7 @@
             }
             if (cancelable !is null) {
                 int rc = cancelable.Cancel (XPCOM.NS_BINDING_ABORTED);
-                if (rc !is XPCOM.NS_OK) Mozilla.error (rc);
+                if (rc !is XPCOM.NS_OK) Mozilla.error (rc,__FILE__,__LINE__);
             }
             shell = null;
             cancelable = null;