Mention explicit using original path on failures
This commit is contained in:
parent
b90c0c7895
commit
145d5abe80
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue