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

Issue 10822022: Added extra DCHECK() to eliminate possible NULL deref. (Closed)

Created:
8 years, 5 months ago by Kyle Horimoto
Modified:
8 years, 5 months ago
CC:
chromium-reviews, tfarina, dcheng
Visibility:
Public.

Description

Added extra DCHECK() to eliminate possible NULL deref. CID=104002 BUG= TEST= TBR=ben Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148434

Patch Set 1 #

Patch Set 2 : Remove .gitmodule #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/ui/views/tabs/tab_drag_controller.cc View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 5 (0 generated)
Kyle Horimoto
8 years, 5 months ago (2012-07-25 20:40:53 UTC) #1
Ben Goodger (Google)
LGTM
8 years, 5 months ago (2012-07-25 20:45:20 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/khorimoto@chromium.org/10822022/2001
8 years, 5 months ago (2012-07-25 20:51:53 UTC) #3
commit-bot: I haz the power
Change committed as 148434
8 years, 5 months ago (2012-07-25 22:33:36 UTC) #4
James Hawkins
8 years, 5 months ago (2012-07-26 00:10:50 UTC) #5
http://codereview.chromium.org/10822022/diff/2001/chrome/browser/ui/views/tab...
File chrome/browser/ui/views/tabs/tab_drag_controller.cc (right):

http://codereview.chromium.org/10822022/diff/2001/chrome/browser/ui/views/tab...
chrome/browser/ui/views/tabs/tab_drag_controller.cc:1613: DCHECK(started_drag_
&& source_tabstrip_);
nit: Don't put two conditions in one DCHECK, otherwise it's harder to see which
value is causing the failure.

Powered by Google App Engine
This is Rietveld 408576698