-
Xianzhu Wang authored
Previously for a cc::Layer to have debug info (e.g. layer name, and information for tracing, inspection, etc.), we needed to create an instance of LayerClient implementation for the layer, and the layer pulled debug info from the client during frame update. Now change the pull model to push model to simplify clients, and remove cc::LayerClient. This fixes the issue in CompositeAfterPaint that foreign layers lack layer names. Change-Id: I06bbe689c8c9ee56be3c8dea8eb6b480faadc5d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906895 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:
Robert Flack <flackr@chromium.org> Reviewed-by:
Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#715049}
d3bb3826