Only test the renderer process when recording GPU memory cost
In non-single-process tests, there's a good chance that two unit tests running in the same process need to set different client names. Currently whichever comes second cannot set the client name correctly. However, there is no ideal way to test both processes. Resetting the client names in the test doesn't work because the histogram has static client name which invalidates the name resetting. To fix, it requires confusing work-around in the code therefore we prefer to test only one process after all the logic is almost identical. Bug: 749366 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: Iebd312e1138292754f4aa2aa1875b13365e5602f Reviewed-on: https://chromium-review.googlesource.com/590172Reviewed-by:Vladimir Levin <vmpstr@chromium.org> Commit-Queue: Yi Gu <yigu@chromium.org> Cr-Commit-Position: refs/heads/master@{#490778}
Showing
Please register or sign in to comment