Surface synchronization: Use 0 deadline on new SurfaceLayers

On cross-process navigations, we allocate a new RenderWidgetHostView
and DelegatedFrameHost, creating a new SurfaceLayer. The policy for
navigation is DeadlinePolicy::UseExistingDeadline. Prior to this CL,
this resolved to the system default deadline. This meant that every
cross-process navigation blocked for ~4 BeginFrames. This CL ensures
that the deadline is 0.

Bug: 808616, 672962
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;
Change-Id: I62f9f00b49d16787d8ff6dd1ed218bb03dc452d9
Commit-Queue: Fady Samuel <>
Reviewed-by: Saman Sami <>
Cr-Commit-Position: refs/heads/master@{#536406}
2 files changed