viz: Don't generate new nonce in ParentLocalSurfaceIdAllocator
A client can embed every surface of another client forever if it has one valid LocalSurfaceID from that client, so generating a new nonce for every allocation does not provide any security benefit. Let's just generate it once and use it for all LocalSurfaceIds allocated by that particular allocator. Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: Ie028c8b3b73b80ca5bc3e6c23e439b23c54fefe4 Reviewed-on: https://chromium-review.googlesource.com/931741Reviewed-by:Fady Samuel <fsamuel@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Commit-Queue: Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#538981}
Showing
Please register or sign in to comment