DescriptionFix a crash on closing tab while the plugin settings bubble is visible
Add a null check instead of DCHECK() for web contents since it can be NULL
and cause a crash on debug builds, if the tab is closed while the plugin
settings bubble is visible and the setting was changed to Allow plugins.
BUG=440410
Committed: https://crrev.com/7521caae75e0194344e4b0fd5fa85660eedeaf5a
Cr-Commit-Position: refs/heads/master@{#308299}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Addressed review. #Messages
Total messages: 12 (3 generated)
|