-
staraz authored
base::SurfaceId::nonce_ is an uint64 generated at random to make the entire surface id unguessable. base::UnguessableToken is a wrapper for 2 uint64 (high_ and low_). high_ and low_ are generated at random using base::UnguessableToken::Create(). base::UnguessableToken achieves the same goal as the original cc::SurfaceId::nonce_ with better security and uses more common code. BUG=649800 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/6b01e58ff708c17f74b560fe1b57f7733b78da53 Review-Url: https://codereview.chromium.org/2379653006 Cr-Original-Commit-Position: refs/heads/master@{#431294} Cr-Commit-Position: refs/heads/master@{#431398}
7d7f6ebb