Speculative fix for WebWidgetLockTarget crash.
Previously, the class was keeping a raw pointer to a WebWidget object. While we would eventually like the lifetime of RenderWidget and WebWidget to be synchronized, they are not yet. This CL updates the pointer to be to a RenderWidget object, guaranteed to outlive the WebWidgetLockTarget. Bug: 999243 Change-Id: I9a2a546823b658a24d25fc9ae7a2d4e7e61ad5ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1776981 Commit-Queue: Erik Chen <erikchen@chromium.org> Auto-Submit: Erik Chen <erikchen@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#691883}
Showing
Please register or sign in to comment