Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1104)

Unified Diff: cc/ipc/cc_param_traits_unittest.cc

Issue 2379653006: Replaced cc::SurfaceId::nonce_ with base::UnguessableToken (Closed)
Patch Set: Changed SurfaceManager::kRootSurfaceId to a private field to avoid static initialization Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/cc_param_traits.cc ('k') | cc/ipc/local_frame_id.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/cc_param_traits_unittest.cc
diff --git a/cc/ipc/cc_param_traits_unittest.cc b/cc/ipc/cc_param_traits_unittest.cc
index eb6522a83fb5b2eee97915932aa32bd310732dd5..2de580b0ef660ef71c759f3f9d42e139abfe5b04 100644
--- a/cc/ipc/cc_param_traits_unittest.cc
+++ b/cc/ipc/cc_param_traits_unittest.cc
@@ -361,8 +361,9 @@ TEST_F(CCParamTraitsTest, AllQuads) {
pass_cmp->CopyFromAndAppendDrawQuad(streamvideo_in,
streamvideo_in->shared_quad_state);
- cc::SurfaceId arbitrary_surface_id(kArbitraryFrameSinkId,
- cc::LocalFrameId(3, 0));
+ cc::SurfaceId arbitrary_surface_id(
+ kArbitraryFrameSinkId,
+ cc::LocalFrameId(3, base::UnguessableToken::Create()));
SurfaceDrawQuad* surface_in =
pass_in->CreateAndAppendDrawQuad<SurfaceDrawQuad>();
surface_in->SetAll(shared_state3_in, arbitrary_rect2,
« no previous file with comments | « cc/ipc/cc_param_traits.cc ('k') | cc/ipc/local_frame_id.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698