| Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| index 873a7184e2a29b2bcef6aae4a4580ded5e449c52..070c7481438d00f44b73b018729306e4b6f51408 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| @@ -63,12 +63,17 @@ class CORE_EXPORT OffscreenCanvas final
|
|
|
| OffscreenCanvasFrameDispatcher* getOrCreateFrameDispatcher();
|
|
|
| - void setSurfaceId(uint32_t clientId, uint32_t localId, uint64_t nonce) {
|
| + void setSurfaceId(uint32_t clientId,
|
| + uint32_t sinkId,
|
| + uint32_t localId,
|
| + uint64_t nonce) {
|
| m_clientId = clientId;
|
| + m_sinkId = sinkId;
|
| m_localId = localId;
|
| m_nonce = nonce;
|
| }
|
| uint32_t clientId() const { return m_clientId; }
|
| + uint32_t sinkId() const { return m_sinkId; }
|
| uint32_t localId() const { return m_localId; }
|
| uint64_t nonce() const { return m_nonce; }
|
|
|
| @@ -115,6 +120,7 @@ class CORE_EXPORT OffscreenCanvas final
|
| // HTMLCanvasElement.transferControlToOffscreen(),
|
| // then the following members would remain as initialized zero values.
|
| uint32_t m_clientId = 0;
|
| + uint32_t m_sinkId = 0;
|
| uint32_t m_localId = 0;
|
| uint64_t m_nonce = 0;
|
| };
|
|
|