| Index: cc/resources/texture_mailbox.h
|
| diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h
|
| index 42109c686de4b816d9cf42f3efb3513e03d018e7..23885ffafc647540c0a4913378b63554e35a7bf3 100644
|
| --- a/cc/resources/texture_mailbox.h
|
| +++ b/cc/resources/texture_mailbox.h
|
| @@ -39,6 +39,9 @@ class CC_EXPORT TextureMailbox {
|
| bool IsValid() const { return IsTexture() || IsSharedMemory(); }
|
| bool IsTexture() const { return !mailbox_holder_.mailbox.IsZero(); }
|
| bool IsSharedMemory() const { return shared_bitmap_ != NULL; }
|
| + bool HasSyncToken() const { return mailbox_holder_.sync_token.HasData(); }
|
| +
|
| + int8_t* GetSyncTokenData() { return mailbox_holder_.sync_token.GetData(); }
|
|
|
| bool Equals(const TextureMailbox&) const;
|
|
|
|
|