Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.cc

Issue 11434113: Revert 171023 - Reverting r171011, this rev was a fix for that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/wallpaper_private_api.cc
===================================================================
--- chrome/browser/chromeos/extensions/wallpaper_private_api.cc (revision 171041)
+++ chrome/browser/chromeos/extensions/wallpaper_private_api.cc (working copy)
@@ -90,7 +90,7 @@
FilePath file_path = data_dir.Append(file_name);
return !file_util::PathExists(file_path) ||
- !file_util::ReadFileToString(file_path, data);
+ (file_util::ReadFileToString(file_path, data) != -1);
}
class WindowStateManager;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698