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

Unified Diff: cc/surfaces/surface_manager.cc

Issue 2379653006: Replaced cc::SurfaceId::nonce_ with base::UnguessableToken (Closed)
Patch Set: Nit change based on comment. 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
Index: cc/surfaces/surface_manager.cc
diff --git a/cc/surfaces/surface_manager.cc b/cc/surfaces/surface_manager.cc
index b0b814fb1b2d212e841bc4b4a10f724d6b4aade8..ae79120041f6af1c099b0eac0382c60e4c7d7f5b 100644
--- a/cc/surfaces/surface_manager.cc
+++ b/cc/surfaces/surface_manager.cc
@@ -16,8 +16,9 @@
namespace cc {
-const SurfaceId SurfaceManager::kRootSurfaceId(FrameSinkId(0u, 0u),
- LocalFrameId(0u, 0u));
+const SurfaceId SurfaceManager::kRootSurfaceId(
+ FrameSinkId(0u, 0u),
+ LocalFrameId(0u, base::UnguessableToken::Create()));
SurfaceManager::FrameSinkSourceMapping::FrameSinkSourceMapping()
: client(nullptr), source(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698