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

Issue 11419315: cros: Fix a comparison of a bool with -1 (Closed)

Created:
8 years ago by Nico
Modified:
8 years ago
Reviewers:
bshe
CC:
chromium-reviews, nkostylev+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

cros: Fix a comparison of a bool with -1 BUG=none TBR=bshe Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171023

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Nico
Please check that I got the sign right.
8 years ago (2012-12-04 19:33:55 UTC) #1
bshe
On 2012/12/04 19:33:55, Nico wrote: > Please check that I got the sign right. Thanks. ...
8 years ago (2012-12-04 20:30:53 UTC) #2
Nico
On 2012/12/04 20:30:53, bshe wrote: > On 2012/12/04 19:33:55, Nico wrote: > > Please check ...
8 years ago (2012-12-04 20:32:53 UTC) #3
bshe
8 years ago (2012-12-04 20:35:04 UTC) #4
Message was sent while issue was closed.
On 2012/12/04 20:32:53, Nico wrote:
> On 2012/12/04 20:30:53, bshe wrote:
> > On 2012/12/04 19:33:55, Nico wrote:
> > > Please check that I got the sign right.
> > 
> > Thanks. could you please remove "!" since we dont need it.
> 
> In both cases?

Sorry. Just the latter one:
from
!file_util::ReadFileToString(file_path, data);
to
file_util::ReadFileToString(file_path, data);

Powered by Google App Engine
This is Rietveld 408576698