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 daed80bf5373099eb07835f69930683af230b787..fb8499c4bf38b723eef90ddda43028e77953e5d5 100644 |
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h |
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h |
@@ -53,15 +53,17 @@ public: |
OffscreenCanvasFrameDispatcher* getOrCreateFrameDispatcher(); |
- void setSurfaceId(uint32_t clientId, uint32_t localId, uint64_t nonce) |
+ void setSurfaceId(uint32_t clientId, uint32_t localId, uint64_t nonceHigh, uint64_t nonceLow) |
{ |
m_clientId = clientId; |
m_localId = localId; |
- m_nonce = nonce; |
+ m_nonceHigh = nonceHigh; |
+ m_nonceLow = nonceLow; |
} |
uint32_t clientId() const { return m_clientId; } |
uint32_t localId() const { return m_localId; } |
- uint64_t nonce() const { return m_nonce; } |
+ uint64_t nonceHigh() const { return m_nonceHigh; } |
+ uint64_t nonceLow() const { return m_nonceLow; } |
// CanvasImageSource implementation |
PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, AccelerationHint, SnapshotReason, const FloatSize&) const final; |
@@ -99,7 +101,8 @@ private: |
// then the following members would remain as initialized zero values. |
uint32_t m_clientId = 0; |
uint32_t m_localId = 0; |
- uint64_t m_nonce = 0; |
+ uint64_t m_nonceHigh = 0; |
+ uint64_t m_nonceLow = 0; |
}; |
} // namespace blink |