Fix a crash in RWHI
When tracing category "disabled-by-default-viz.surface_id_flow" is enabled, if the value of local_surface_id_allocation is not set on visual_properties via RenderWidgetHostImpl::GetVisualProperties, tracing code throws an error resulting in crash. This CL fixes this issue by returning default value for LocalSurfaceIdAllocation if it is not set by RenderWidgetHostImpl::GetVisualProperties. Bug: 1022882 Change-Id: I45df560ff35d3f0c51f7c716a5f5fadfd50b5c51 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906940Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Daniel Libby <dlibby@microsoft.com> Commit-Queue: Sarthak Shah <sarsha@microsoft.com> Cr-Commit-Position: refs/heads/master@{#714627}
Showing
Please register or sign in to comment