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

Issue 3204003: Check that BlockedContents::blocked_popup_container is not NULL before using ... (Closed)

Created:
10 years, 4 months ago by jschuh
Modified:
9 years, 6 months ago
Reviewers:
inferno
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Check that BlockedContents::blocked_popup_container is not NULL before using it. BUG=53176 TEST=None. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57249

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

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

Messages

Total messages: 1 (0 generated)
inferno
10 years, 4 months ago (2010-08-24 21:25:49 UTC) #1
LGTM pending trybots run green.

http://codereview.chromium.org/3204003/diff/1/2
File chrome/browser/content_setting_bubble_model.cc (right):

http://codereview.chromium.org/3204003/diff/1/2#newcode323
chrome/browser/content_setting_bubble_model.cc:323: return;
You can put this at start of function. no need to have blocked_contents declared
if we need to return.

Do we want to check null tabcontents(). I do see it used in a similar context
here -
https://cs/p#chrome/trunk/src/chrome/browser/content_setting_bubble_model.cc&...

Optional - please put a line comment explaining this and link to crbug.com.

Powered by Google App Engine
This is Rietveld 408576698