cc: Remove ValidateRenderSurfaces debug check
This function is trying to test when a layer should have a render surface by partially duplicating / reimplementing logic from ShouldHaveRenderSurface. It creates render surfaces, then in the same stack checks to see if a render surface should have been created, but it doesn't use the exact same logic. (This is likely what is causing it to fail.) Rather than trying to make it equal, remove this test, as render surface creation is already well-tested in unit tests. BUG=457217 Review URL: https://codereview.chromium.org/913793002 Cr-Commit-Position: refs/heads/master@{#315703}
Showing
Please register or sign in to comment