Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Merge 2403] Fix speech crash on render view swap.
ChromeSRMDelegate should not be reading the WebContents* back from WebContentsObserver after it has explicitly set to observe nullptr WebContents. This was introduced by my earlier CL: r330213, I never tested the feature from NTP. [email protected] BUG=489182, 489157 Test=1) From new tab page, click on the mic beside search box, feed it some search query, it should not crash chrome. 2) Similar to step #1, but before the query completes, close the tab, observe no crash. Review URL: https://codereview.chromium.org/1134773004 Cr-Commit-Position: refs/heads/master@{#330784} (cherry picked from commit ada65a7) Review URL: https://codereview.chromium.org/1149763008 Cr-Commit-Position: refs/branch-heads/2403@{crosswalk-project#59} Cr-Branched-From: f54b809-refs/heads/master@{#330231}
- Loading branch information