sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api
git-svn-id: svn://10.0.0.236/trunk@89422 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -565,7 +565,7 @@ nsEditorShell::PrepareDocumentForEditing(nsIDOMWindow* aDOMWindow, nsIURI *aUrl)
|
||||
// in the disk document, so that later saves save back to the same file.
|
||||
nsCOMPtr<nsIFileURL> pageFileURL(do_QueryInterface(aUrl));
|
||||
PRBool isFile=PR_FALSE;
|
||||
rv = aUrl->SchemeIs(nsIURI::FILE, &isFile);
|
||||
rv = aUrl->SchemeIs("file", &isFile);
|
||||
if (NS_SUCCEEDED(rv) && isFile && pageFileURL)
|
||||
{
|
||||
nsCOMPtr<nsIFile> pageFile;
|
||||
|
||||
Reference in New Issue
Block a user