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

Unified Diff: cc/ipc/cc_param_traits.cc

Issue 2379653006: Replaced cc::SurfaceId::nonce_ with base::UnguessableToken (Closed)
Patch Set: Moved include statement from surface_id_struct_traits.h to local_frame_id_struct_traits.h Created 4 years, 2 months 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
Index: cc/ipc/cc_param_traits.cc
diff --git a/cc/ipc/cc_param_traits.cc b/cc/ipc/cc_param_traits.cc
index fc734204281f0d63f24c799fc54f2e569e9a7d71..e621e3fc7a213c886817ae8edb91227f698e9f4b 100644
--- a/cc/ipc/cc_param_traits.cc
+++ b/cc/ipc/cc_param_traits.cc
@@ -9,6 +9,7 @@
#include "base/numerics/safe_conversions.h"
#include "base/time/time.h"
+#include "base/unguessable_token.h"
#include "cc/output/compositor_frame.h"
#include "cc/output/filter_operations.h"
#include "cc/quads/debug_border_draw_quad.h"
@@ -621,7 +622,7 @@ bool ParamTraits<cc::LocalFrameId>::Read(const base::Pickle* m,
if (!ReadParam(m, iter, &local_id))
return false;
- uint64_t nonce;
+ base::UnguessableToken nonce;
if (!ReadParam(m, iter, &nonce))
return false;
« no previous file with comments | « cc/ipc/DEPS ('k') | cc/ipc/local_frame_id.mojom » ('j') | cc/ipc/local_frame_id.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698