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

Issue 1649493003: Speculative fix for crash during browser startup with opaque frame. (Closed)

Created:
4 years, 10 months ago by Peter Kasting
Modified:
4 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Speculative fix for crash during browser startup with opaque frame. Unconditionally requesting the browser's toolbar view causes a null deref. Try to guard by checking if the toolbar is visible first. This should fix the crash unless at this point the toolbar feature is turned on but the toolbar view itself has not been created. Hopefully that's not the case. BUG=581673 TEST=none TBR=sky Committed: https://crrev.com/17257534a482124490589598423d0178977c63ea Cr-Commit-Position: refs/heads/master@{#371970}

Patch Set 1 #

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

Messages

Total messages: 10 (5 generated)
Peter Kasting
4 years, 10 months ago (2016-01-28 01:18:14 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1649493003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1649493003/1
4 years, 10 months ago (2016-01-28 01:20:26 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-01-28 02:24:55 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/17257534a482124490589598423d0178977c63ea Cr-Commit-Position: refs/heads/master@{#371970}
4 years, 10 months ago (2016-01-28 02:26:10 UTC) #9
sky
4 years, 10 months ago (2016-01-28 02:57:01 UTC) #10
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698