Index: content/browser/compositor/owned_mailbox.h |
diff --git a/content/browser/compositor/owned_mailbox.h b/content/browser/compositor/owned_mailbox.h |
index c8868148f4d8cfcfc3ce5c77b48cb6e3b8f24497..07aac97bf313cf2d245f536f4650b681931d441a 100644 |
--- a/content/browser/compositor/owned_mailbox.h |
+++ b/content/browser/compositor/owned_mailbox.h |
@@ -24,10 +24,12 @@ class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>, |
const gpu::MailboxHolder& holder() const { return mailbox_holder_; } |
const gpu::Mailbox& mailbox() const { return mailbox_holder_.mailbox; } |
+ const gpu::SyncToken& sync_token() const { |
+ return mailbox_holder_.sync_token; |
+ } |
uint32 texture_id() const { return texture_id_; } |
uint32 target() const { return mailbox_holder_.texture_target; } |
- uint32 sync_point() const { return mailbox_holder_.sync_point; } |
- void UpdateSyncPoint(uint32 sync_point); |
+ void UpdateSyncToken(const gpu::SyncToken& sync_token); |
void Destroy(); |
protected: |