Fix LayerTreeHostCacheBehaviorOnOutputSurfaceRecreated test
LayerTreeHostCacheBehaviorOnOutputSurfaceRecreated test was incorrectly relying on WillBeginImplFrameOnThread only being called once after the OutputSurface was recreated. In reality, this function could be called multiple times. This patch causes us to handle cleanup in DidInitializeOutputSurface, which will only be called once after recreating an OutputSurface. BUG=642881,642836 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://codereview.chromium.org/2297413002 Cr-Commit-Position: refs/heads/master@{#415791}
Showing
Please register or sign in to comment