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

Unified Diff: third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.cpp

Issue 2379653006: Replaced cc::SurfaceId::nonce_ with base::UnguessableToken (Closed)
Patch Set: Changed comments in surface_id.h to reflect the change 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: third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.cpp
diff --git a/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.cpp b/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.cpp
index 4c30861ef7c573338193634985326ede43e9da06..6a91078b28a6841cc85adbebb5be2fd47ee1e19e 100644
--- a/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.cpp
+++ b/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.cpp
@@ -68,7 +68,14 @@ OffscreenCanvas* HTMLCanvasElementModule::transferControlToOffscreenInternal(
bridge->getSurfaceId().frame_sink_id().client_id(),
bridge->getSurfaceId().frame_sink_id().sink_id(),
bridge->getSurfaceId().local_frame_id().local_id(),
- bridge->getSurfaceId().local_frame_id().nonce());
+ bridge->getSurfaceId()
+ .local_frame_id()
+ .nonce()
+ .GetHighForSerialization(),
+ bridge->getSurfaceId()
+ .local_frame_id()
+ .nonce()
+ .GetLowForSerialization());
}
return offscreenCanvas;
}

Powered by Google App Engine
This is Rietveld 408576698