Fix pepper crash when reattaching plugins in style recalc
Method document::updateLayoutTree creates ScriptForbiddenScope. An HTML plugin can be reattached while updating layout tree. Pepper plugin can be destroyed while reattaching and executes some scripts. This execution produces crash on ScriptForbidden assert. BUG=550427 R=pfeldman@chromium.org,dcheng@chromium.org,dgozman@chromium.org Review URL: https://codereview.chromium.org/1693003002 Cr-Commit-Position: refs/heads/master@{#376084}
Showing
Please register or sign in to comment