Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug
git-svn-id: svn://10.0.0.236/trunk@111541 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -79,9 +79,6 @@ private:
|
||||
// this will be the resolve path which will *NEVER* be return to the user
|
||||
nsCString mResolvedPath;
|
||||
|
||||
IPersistFile* mPersistFile;
|
||||
IShellLink* mShellLink;
|
||||
|
||||
PRFileInfo64 mFileInfo64;
|
||||
|
||||
void MakeDirty();
|
||||
@@ -97,4 +94,8 @@ private:
|
||||
char **outFileBaseName, char **outFileExtension);
|
||||
};
|
||||
|
||||
|
||||
extern nsresult NS_CreateShortcutResolver();
|
||||
extern void NS_DestroyShortcutResolver();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user