Bug 1428258 - Stop using GetNativePath in chrome/. r=mayhemer

MozReview-Commit-ID: EhsuLxIA1zj

--HG--
extra : rebase_source : cc38d57f5b7eb987e08bf2e96a4c7a1a160bb0e1
extra : intermediate-source : c559b7c9edd7dccbd3320062f7d052d3a2224924
extra : source : 3002b644030043b101113be9ae1cbb2ade951f09
This commit is contained in:
Masatoshi Kimura 2017-12-17 23:56:09 +09:00
parent 8922f96260
commit ec550d5f9a

View File

@ -173,9 +173,8 @@ nsChromeProtocolHandler::NewChannel2(nsIURI* aURI,
bool exists = false;
file->Exists(&exists);
if (!exists) {
nsAutoCString path;
file->GetNativePath(path);
printf("Chrome file doesn't exist: %s\n", path.get());
printf("Chrome file doesn't exist: %s\n",
file->HumanReadablePath().get());
}
}
#endif