Fix Debug building on Windows
This commit is contained in:
parent
94fdcb4f48
commit
a749a3dd2a
4 changed files with 2 additions and 7 deletions
|
@ -56,7 +56,7 @@ bool NotificationPresenterWin::Init() {
|
|||
base::string16 NotificationPresenterWin::SaveIconToFilesystem(
|
||||
const SkBitmap& icon, const GURL& origin) {
|
||||
std::string filename = base::MD5String(origin.spec()) + ".png";
|
||||
base::FilePath path = temp_dir_.path().Append(base::UTF8ToUTF16(filename));
|
||||
base::FilePath path = temp_dir_.GetPath().Append(base::UTF8ToUTF16(filename));
|
||||
if (base::PathExists(path))
|
||||
return path.value();
|
||||
if (SaveIconToPath(icon, path))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue