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

Issue 9534003: DCHECK sets a variable, instead of comparing (Closed)

Created:
8 years, 9 months ago by Myles C. Maxfield
Modified:
8 years, 9 months ago
Reviewers:
michaeln, jennb
CC:
chromium-reviews, michaeln, darin-cc_chromium.org
Visibility:
Public.

Description

DCHECK sets a variable, instead of comparing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124327

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M webkit/appcache/web_application_cache_host_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
michaeln
lgtm (thank you!) http://codereview.chromium.org/9534003/diff/1/webkit/appcache/web_application_cache_host_impl.cc File webkit/appcache/web_application_cache_host_impl.cc (right): http://codereview.chromium.org/9534003/diff/1/webkit/appcache/web_application_cache_host_impl.cc#newcode229 webkit/appcache/web_application_cache_host_impl.cc:229: DCHECK(is_new_master_entry_ == NO); yikes!
8 years, 9 months ago (2012-02-29 20:35:27 UTC) #1
michaeln
http://codereview.chromium.org/9534003/diff/1/webkit/appcache/web_application_cache_host_impl.cc File webkit/appcache/web_application_cache_host_impl.cc (right): http://codereview.chromium.org/9534003/diff/1/webkit/appcache/web_application_cache_host_impl.cc#newcode229 webkit/appcache/web_application_cache_host_impl.cc:229: DCHECK(is_new_master_entry_ == NO); actually, would be good to use ...
8 years, 9 months ago (2012-02-29 20:36:25 UTC) #2
jennb
LGTM What michaeln said - yikes, indeed! On 2012/02/29 20:36:25, michaeln wrote: > http://codereview.chromium.org/9534003/diff/1/webkit/appcache/web_application_cache_host_impl.cc > ...
8 years, 9 months ago (2012-02-29 20:37:57 UTC) #3
Myles C. Maxfield
https://chromiumcodereview.appspot.com/9534003/diff/1/webkit/appcache/web_application_cache_host_impl.cc File webkit/appcache/web_application_cache_host_impl.cc (right): https://chromiumcodereview.appspot.com/9534003/diff/1/webkit/appcache/web_application_cache_host_impl.cc#newcode229 webkit/appcache/web_application_cache_host_impl.cc:229: DCHECK(is_new_master_entry_ == NO); On 2012/02/29 20:36:25, michaeln wrote: > ...
8 years, 9 months ago (2012-02-29 22:11:40 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmaxfield@google.com/9534003/5001
8 years, 9 months ago (2012-02-29 22:13:40 UTC) #5
commit-bot: I haz the power
8 years, 9 months ago (2012-03-01 01:52:55 UTC) #6
Change committed as 124327

Powered by Google App Engine
This is Rietveld 408576698