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

Issue 7634013: Minor cleanup to UsageTracker.IsWorking(). (Closed)

Created:
9 years, 4 months ago by michaeln
Modified:
9 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Minor cleanup to UsageTracker.IsWorking(). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96583

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -17 lines) Patch
M webkit/quota/quota_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/quota/quota_types.h View 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/quota/usage_tracker.h View 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/quota/usage_tracker.cc View 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
michaeln
Hi Dai, I noticed that the return value of IsWorking() was counter intuitively reversed. It ...
9 years, 4 months ago (2011-08-12 00:10:10 UTC) #1
Dai Mikurube (NOT FULLTIME)
9 years, 4 months ago (2011-08-12 04:22:57 UTC) #2
Ah, sure.  LGTM.  Thank you!

On 2011/08/12 00:10:10, michaeln wrote:
> Hi Dai,
> 
> I noticed that the return value of IsWorking() was counter intuitively
reversed.
> It was returning false when the class was actually doing something and true
when
> not. Then i noticed that the loop wasn't really needed.

Powered by Google App Engine
This is Rietveld 408576698