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..0cec9393c871b0908df29a43b44dcae2f72b1a8d 100644 |
--- a/content/browser/compositor/owned_mailbox.h |
+++ b/content/browser/compositor/owned_mailbox.h |
@@ -24,10 +24,13 @@ 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 UpdateSyncPoint(uint32 sync_point, const gpu::SyncToken& sync_token); |
void Destroy(); |
protected: |