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

Unified Diff: cc/ipc/cc_param_traits.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/DEPS ('k') | cc/ipc/cc_param_traits_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/cc_param_traits.cc
diff --git a/cc/ipc/cc_param_traits.cc b/cc/ipc/cc_param_traits.cc
index 0963b419578d809107ed92547dcf9924dc0dc46c..e3c010026c96e612859d9aa84ecb23dcb84ba4e0 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/cc_param_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698