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

Issue 10829028: Add DCHECK(), remove if statement to prevent NULL pointer dereference. (Closed)

Created:
8 years, 5 months ago by Kyle Horimoto
Modified:
8 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Add DCHECK(), remove if statement to prevent NULL pointer dereference. BUG= TEST= CID=102400 TBR=jamesr Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148462

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M content/renderer/render_view_impl.cc View 1 chunk +4 lines, -5 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Kyle Horimoto
8 years, 5 months ago (2012-07-25 23:41:51 UTC) #1
Tyler Breisacher (Chromium)
lgtm with optional nit https://chromiumcodereview.appspot.com/10829028/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://chromiumcodereview.appspot.com/10829028/diff/1/content/renderer/render_view_impl.cc#newcode3305 content/renderer/render_view_impl.cc:3305: DCHECK(document_state); I think we could ...
8 years, 5 months ago (2012-07-25 23:46:18 UTC) #2
Kyle Horimoto
On 2012/07/25 23:46:18, Tyler Breisacher wrote: > lgtm with optional nit > > https://chromiumcodereview.appspot.com/10829028/diff/1/content/renderer/render_view_impl.cc > ...
8 years, 5 months ago (2012-07-25 23:55:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/khorimoto@chromium.org/10829028/1
8 years, 5 months ago (2012-07-25 23:55:24 UTC) #4
commit-bot: I haz the power
Presubmit check for 10829028-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-25 23:55:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/khorimoto@chromium.org/10829028/1
8 years, 5 months ago (2012-07-25 23:57:56 UTC) #6
commit-bot: I haz the power
8 years, 5 months ago (2012-07-26 01:15:31 UTC) #7
Change committed as 148462

Powered by Google App Engine
This is Rietveld 408576698