[Fuchsia] Set initially_hidden flag for WebContents in web_engine

By default web::Frame instances created in a web_engine are not shown
on the screen. Previously web_engine wasn't setting initially_hiddent
flag when creating the underlying WebContents instance. This meant that
the frame's LayerTreeView had visibility flag set even though it was
not actually visible. As result it kept restarting GPU process which
was always failing (due to SwiftShader missing), resulting in log spam
(see linked bug for details).

Bug: 933861
Change-Id: I057cd215612b33b0a73077d610a5cd9486bfa7d8
Reviewed-on: https://chromium-review.googlesource.com/c/1481950
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Auto-Submit: Sergey Ulanov <sergeyu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634503}
1 file changed