Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: ui/compositor/layer.cc

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index d68d0439031d0a8e1bc260927c116b292ae29f5d..36d56f26ebb6644e024eb215bca060aa7d2f67fd 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -553,7 +553,7 @@ void Layer::SetTextureMailbox(
frame_size_in_dip_ = gfx::Size();
}
if (mailbox_release_callback_)
- mailbox_release_callback_->Run(0, false);
+ mailbox_release_callback_->Run(gpu::SyncToken(), false);
mailbox_release_callback_ = release_callback.Pass();
mailbox_ = mailbox;
SetTextureSize(texture_size_in_dip);
@@ -623,7 +623,7 @@ void Layer::SetShowSolidColorContent() {
mailbox_ = cc::TextureMailbox();
if (mailbox_release_callback_) {
- mailbox_release_callback_->Run(0, false);
+ mailbox_release_callback_->Run(gpu::SyncToken(), false);
mailbox_release_callback_.reset();
}
RecomputeDrawsContentAndUVRect();
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698