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

Issue 6385004: Fix uninitialized variables introduced in CL 72374. time_slice_hrs was causin... (Closed)

Created:
9 years, 11 months ago by ddorwin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Fix uninitialized variables introduced in CL 72374. time_slice_hrs is being used uninitialized at line 459, and this was causing a Run-Time Check failure and crash in Debug versions on Windows. I don't know whether 0 is the the correct value in this case, but this fixes the crash. mirandac@ will need to review the behavior. BUG=None TEST=Run debug version of Chrome on Windows and wait a few seconds. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72444

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/web_resource/web_resource_service.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ddorwin
9 years, 11 months ago (2011-01-25 01:14:26 UTC) #1
ddorwin
9 years, 11 months ago (2011-01-25 01:17:36 UTC) #2
scherkus (not reviewing)
don't forget to use "None" for empty BUG= / TEST= fields! other than that LGTM
9 years, 11 months ago (2011-01-25 01:24:32 UTC) #3
ddorwin
9 years, 11 months ago (2011-01-25 01:27:44 UTC) #4
Miranda Callahan
9 years, 11 months ago (2011-01-25 01:58:05 UTC) #5
On 2011/01/25 01:27:44, ddorwin wrote:

Yes, 0 is the correct initialization value -- thanks for catching this.

Powered by Google App Engine
This is Rietveld 408576698