Chromium Code Reviews
DescriptionAccount for failure of coordinate space transformations in browser
In some situations, DCHECKs were triggering due to failed
transformations of points between cc::Surface coordinate spaces. This is
because of raciness that can occur when we cache RenderWidgetHostView
pointers: specifically, if the RWHV has changed its Surface due to
(for example) a resize, and the new SurfaceID has not yet propagated
through an embedding renderer process and back to the browser, then
the browser process does not have enough information to compute the
transformation.
This CL allows the RenderWidgetHostInputEventRouter to handle that
situation gracefully, rather than hitting a DCHECK.
BUG=647311
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/9380a25fe8cc25c6c588218a2af44f34a4d115be
Cr-Commit-Position: refs/heads/master@{#425316}
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 4
Patch Set 3 : Review comments addressed #Messages
Total messages: 19 (13 generated)
|