Bug 868891 - Fix regression introduced by Bug 860934. r=dougt

Bug 860934 removed the use of fully qualified paths when communicating between the
parent and child processes. This patch fixes one of the spots that got missed.
This commit is contained in:
Dave Hylands 2013-05-10 10:58:45 -07:00
Родитель d950524c96
Коммит 24be0725ba
1 изменённых файлов: 1 добавлений и 9 удалений

Просмотреть файл

@ -408,16 +408,8 @@ FileUpdateDispatcher::Observe(nsISupports *aSubject,
NS_WARNING("Device storage file looks invalid!");
return NS_OK;
}
nsString fullpath;
nsresult rv = file->mFile->GetPath(fullpath);
if (NS_FAILED(rv)) {
NS_WARNING("Could not get path from the nsIFile!");
return NS_OK;
}
ContentChild::GetSingleton()->SendFilePathUpdateNotify(file->mStorageType,
fullpath,
file->mPath,
NS_ConvertUTF16toUTF8(aData));
} else {
nsCOMPtr<nsIObserverService> obs = mozilla::services::GetObserverService();