Invalidate LocalSurfaceId on Hidden Navigation
Currently RenderWidgetHostViewAura allocates a new LocalSurfaceId upon Navigation. However if this navigation is for a hidden view, then we are allocating very early. This has skewed the statistics for embedding times. This updates RenderWidgetHostViewAura::DidNavigate to Invalidate the LocalSurfaceId if hidden. A new one will be allocated once the view is shown. Bug: 655231 Change-Id: I86cc4efade8b927149f57323281a87b0dcd1aac3 Reviewed-on: https://chromium-review.googlesource.com/c/1347446 Commit-Queue: Jonathan Ross <jonross@chromium.org> Reviewed-by:Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#611319}
Showing
Please register or sign in to comment