summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/graphics/mailbox_ref.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/graphics/mailbox_ref.h')
-rw-r--r--chromium/third_party/blink/renderer/platform/graphics/mailbox_ref.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/platform/graphics/mailbox_ref.h b/chromium/third_party/blink/renderer/platform/graphics/mailbox_ref.h
index ef9e2996c97..cd94537c7e6 100644
--- a/chromium/third_party/blink/renderer/platform/graphics/mailbox_ref.h
+++ b/chromium/third_party/blink/renderer/platform/graphics/mailbox_ref.h
@@ -32,10 +32,7 @@ class MailboxRef : public ThreadSafeRefCounted<MailboxRef> {
bool is_cross_thread() const {
return base::PlatformThread::CurrentRef() != context_thread_ref_;
}
- void set_sync_token(gpu::SyncToken token) {
- DCHECK(sync_token_.HasData());
- sync_token_ = token;
- }
+ void set_sync_token(gpu::SyncToken token) { sync_token_ = token; }
const gpu::SyncToken& sync_token() const { return sync_token_; }
bool verified_flush() { return sync_token_.verified_flush(); }