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/+/1726872 Reviewed-by: Bo <boliu@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#682391}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .