Commit bfb9e9ab authored by fsamuel@chromium.org's avatar fsamuel@chromium.org

BrowserPlugin: Allow stack to unwind before denying permission.

This prevents a use-after-free bug where it is possible WebContentsImpl attempts
to access a newly created window after BrowserPluginGuest has freed it because the
permission was instantly denied. This can happen if BrowserPluginGuest has no
delegate: it's not a <webview> or <adview>.

BUG=338345

Review URL: https://codereview.chromium.org/149643002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247761 0039d316-1c4b-4281-b951-d872f2087c98
parent ee03b3a1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment