From 8739e85c57a2bbb10c766fada0b76b6065c4051c Mon Sep 17 00:00:00 2001 From: Masatoshi Kimura Date: Sun, 17 Dec 2017 23:56:09 +0900 Subject: [PATCH] Bug 1428258 - Stop using GetNativePath in chrome/. r=mayhemer MozReview-Commit-ID: EhsuLxIA1zj --- chrome/nsChromeProtocolHandler.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/chrome/nsChromeProtocolHandler.cpp b/chrome/nsChromeProtocolHandler.cpp index 4a0e879c838e..f998b1966a77 100644 --- a/chrome/nsChromeProtocolHandler.cpp +++ b/chrome/nsChromeProtocolHandler.cpp @@ -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