Generate a local surface ID on Webview when showing the RenderWidget
If a RenderWidget is started as hidden, it should generate a local surface Id when it's shown. On Webview, the delegated_frame_host_ is null, which was preventing this from happening. Change the conditional to still generate the local surface ID. We got by with this bug because RenderWidgets for RenderFrames are always started as visible, then hidden with a method call to the RenderWidgetHostView. Future CLs remove this ping-ponging of visibility states. R=boliu@chromium.org Bug: 419087, 745091 Change-Id: I7c7ffb49fde75c94b68ffb4e72b3a7676ac6d429 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726872Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#682391}
Showing
Please register or sign in to comment