Bug 685847 - Crash in nsLocalFile::RevealUsingShell() on release builds. r=jimm
authorBrian R. Bondy <netzen@gmail.com>
Fri, 09 Sep 2011 15:01:38 -0400
changeset 78137 d078623f7875c1b77e0d05c7d541cc23a4b239a7
parent 78136 694520af9b1847cc9c70e5deac135d419407eb53
child 78138 9f664f2ac12c6ee1fc0f92ff06a9f4fbff3895ac
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm
bugs685847
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 685847 - Crash in nsLocalFile::RevealUsingShell() on release builds. r=jimm
xpcom/io/nsLocalFileWin.h
--- a/xpcom/io/nsLocalFileWin.h
+++ b/xpcom/io/nsLocalFileWin.h
@@ -58,20 +58,21 @@
 #include <objbase.h>
 DEFINE_OLEGUID(IID_IPersistFile, 0x0000010BL, 0, 0);
 #endif
 
 #include "shlobj.h"
 
 #include <sys/stat.h>
 
-typedef PIDLIST_ABSOLUTE (*ILCreateFromPathWPtr)(PCWSTR);
-typedef void (*ILFreePtr)(PIDLIST_RELATIVE);
-typedef HRESULT (*SHOpenFolderAndSelectItemsPtr)(PCIDLIST_ABSOLUTE, UINT, 
-                                                 PCUITEMID_CHILD_ARRAY, DWORD);
+typedef LPITEMIDLIST (WINAPI *ILCreateFromPathWPtr)(PCWSTR);
+typedef void (WINAPI *ILFreePtr)(LPITEMIDLIST);
+typedef HRESULT (WINAPI *SHOpenFolderAndSelectItemsPtr)(LPCITEMIDLIST, UINT, 
+                                                        PCUITEMID_CHILD_ARRAY,
+                                                        DWORD);
 
 class nsLocalFile : public nsILocalFileWin,
                     public nsIHashable
 {
 public:
     NS_DEFINE_STATIC_CID_ACCESSOR(NS_LOCAL_FILE_CID)
     
     nsLocalFile();