Commit 76457ed1 authored by rsleevi@chromium.org's avatar rsleevi@chromium.org

Revert 171023 - Reverting r171011, this rev was a fix for that

cros: Fix a comparison of a bool with -1

BUG=none
TBR=bshe

Review URL: https://codereview.chromium.org/11419315

TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/11434113

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171042 0039d316-1c4b-4281-b951-d872f2087c98
parent c1fc4063
...@@ -90,7 +90,7 @@ bool GetData(int key, const std::string& file_name, std::string* data) { ...@@ -90,7 +90,7 @@ bool GetData(int key, const std::string& file_name, std::string* data) {
FilePath file_path = data_dir.Append(file_name); FilePath file_path = data_dir.Append(file_name);
return !file_util::PathExists(file_path) || return !file_util::PathExists(file_path) ||
!file_util::ReadFileToString(file_path, data); (file_util::ReadFileToString(file_path, data) != -1);
} }
class WindowStateManager; class WindowStateManager;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment