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

Issue 9733025: NULL check GetFocusManager() before using it in ChromeWebContentsViewDelegateWin::StoreFocus(). (Closed)

Created:
8 years, 9 months ago by jam
Modified:
8 years, 9 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

NULL check GetFocusManager() before using it in ChromeWebContentsViewDelegateWin::StoreFocus(). BUG=118620 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127688

Patch Set 1 #

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

Messages

Total messages: 3 (0 generated)
jam
8 years, 9 months ago (2012-03-20 00:26:28 UTC) #1
Avi (use Gerrit)
That's certainly plausible. An LGTM from me is a rubberstamp; is it legitimate for the ...
8 years, 9 months ago (2012-03-20 03:18:14 UTC) #2
jam
8 years, 9 months ago (2012-03-20 15:23:12 UTC) #3
On 2012/03/20 03:18:14, Avi wrote:
> That's certainly plausible. An LGTM from me is a rubberstamp; is it legitimate
> for the focus manager to be null?

yep it is. I tried to be conservative when adding NULL checks because I didn't
want to add unnecessary ones. Looks like this one is though from the crash
report.

Powered by Google App Engine
This is Rietveld 408576698