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

Issue 56205: NULL check web_contents_ to prevent a crash. (Closed)

Created:
11 years, 8 months ago by tony
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

NULL check web_contents_ to prevent a crash. In the notification observer, web_contents_ can be set to NULL so check for a NULL web_contents_ in GetWindowTitle. All the other methods check web_contents_ before using it too. BUG=9672

Patch Set 1 #

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

Messages

Total messages: 3 (0 generated)
tony
11 years, 8 months ago (2009-04-03 01:22:58 UTC) #1
tony
ping (and adding sky in case he wants to review instead).
11 years, 8 months ago (2009-04-03 19:36:48 UTC) #2
sky
11 years, 8 months ago (2009-04-03 19:40:48 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698