Mention explicit using original path on failures

This commit is contained in:
Kevin Sawicki 2016-03-04 12:09:53 -08:00
parent b90c0c7895
commit 145d5abe80

View file

@ -257,7 +257,7 @@ mate::Handle<NativeImage> NativeImage::CreateFromPath(
gfx::ImageSkia image_skia;
base::FilePath absolute_path = MakeAbsoluteFilePath(path);
// MakeAbsoluteFilePath returns an empty path on failures
// MakeAbsoluteFilePath returns an empty path on failures so use original path
if (absolute_path.empty()) {
absolute_path = path;
}