viz: Fix (Parent|Child)LocalSurfaceIdAllocator allocation time on merge
When parent-allocated and child-allocated LocalSurfaceIds are merged, a new LocalSurfaceId may result which represents a new allocation. The allocation timestamp was not updated upon this UpdateFrom(Child|Parent). This CL fixes that and adds corresponding unit tests. The existing unit test framework is also cleaned up a bit. Change-Id: I41038c281c6a2de48a1e3c36ae871018bbb842e8 Bug: 655231 Reviewed-on: https://chromium-review.googlesource.com/c/1310117Reviewed-by:Jonathan Ross <jonross@chromium.org> Commit-Queue: Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#604568}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment