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

Issue 12250014: Omnibox: Possibly Fix Rare OpenMatch Crash (Closed)

Created:
7 years, 10 months ago by Mark P
Modified:
7 years, 10 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Visibility:
Public.

Description

Omnibox: Possibly Fix Rare OpenMatch Crash The associated bug seems to imply a crash on this line ClassifyPage(controller_->GetWebContents()->GetURL()) in OmniboxEditModel::OpenMatch(). This change corrects the part of the test that may fail (if there's no active tab for some reason). I think controller_ is always valid (the rest of the edit model code use it without testing it for non-NULL). But I see at least two places in OmniboxEditModel that test for the non-NULLness of controller_->GetWebContents(). Hence, I think it might be able to be NULL, so this change adds a test for it here too. TEST=new code compiles BUG=142931 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182244

Patch Set 1 #

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

Messages

Total messages: 10 (0 generated)
Mark P
Peter, What do you think about this? --mark
7 years, 10 months ago (2013-02-12 22:21:52 UTC) #1
Peter Kasting
If we're still getting reports for this crash, then I'd say let's check in and ...
7 years, 10 months ago (2013-02-12 22:25:51 UTC) #2
Peter Kasting
Oh, LGTM, since the tools probably want that :)
7 years, 10 months ago (2013-02-12 22:26:58 UTC) #3
Mark P
On 2013/02/12 22:25:51, Peter Kasting wrote: > If we're still getting reports for this crash, ...
7 years, 10 months ago (2013-02-12 22:31:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/12250014/1
7 years, 10 months ago (2013-02-12 22:32:47 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=110992
7 years, 10 months ago (2013-02-12 23:52:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/12250014/1
7 years, 10 months ago (2013-02-12 23:56:45 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=111136
7 years, 10 months ago (2013-02-13 04:00:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/12250014/1
7 years, 10 months ago (2013-02-13 15:34:30 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 16:39:44 UTC) #10
Message was sent while issue was closed.
Change committed as 182244

Powered by Google App Engine
This is Rietveld 408576698