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

Unified Diff: content/browser/compositor/reflector_impl.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 | « content/browser/compositor/owned_mailbox.cc ('k') | content/browser/compositor/reflector_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/reflector_impl.cc
diff --git a/content/browser/compositor/reflector_impl.cc b/content/browser/compositor/reflector_impl.cc
index 19945aeb6bf86aec96517e82dfa08ac2aa4b73db..c7259dc08d99a35e04844d772ddd0e233120ea0c 100644
--- a/content/browser/compositor/reflector_impl.cc
+++ b/content/browser/compositor/reflector_impl.cc
@@ -169,9 +169,9 @@ void ReflectorImpl::OnSourcePostSubBuffer(const gfx::Rect& rect) {
}
static void ReleaseMailbox(scoped_refptr<OwnedMailbox> mailbox,
- unsigned int sync_point,
+ const gpu::SyncToken& sync_token,
bool is_lost) {
- mailbox->UpdateSyncPoint(sync_point);
+ mailbox->UpdateSyncToken(sync_token);
}
ScopedVector<ReflectorImpl::LayerData>::iterator ReflectorImpl::FindLayerData(
« no previous file with comments | « content/browser/compositor/owned_mailbox.cc ('k') | content/browser/compositor/reflector_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698