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

Unified Diff: cc/resources/single_release_callback_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 | « cc/resources/single_release_callback_impl.h ('k') | cc/resources/texture_mailbox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/single_release_callback_impl.cc
diff --git a/cc/resources/single_release_callback_impl.cc b/cc/resources/single_release_callback_impl.cc
index c19e14e58a2e83dd481c1b7018e529a3922b1cbe..bab9dd462d8ed56645f5a74139b86883ad57b7f7 100644
--- a/cc/resources/single_release_callback_impl.cc
+++ b/cc/resources/single_release_callback_impl.cc
@@ -22,13 +22,13 @@ SingleReleaseCallbackImpl::~SingleReleaseCallbackImpl() {
}
void SingleReleaseCallbackImpl::Run(
- uint32 sync_point,
+ const gpu::SyncToken& sync_token,
bool is_lost,
BlockingTaskRunner* main_thread_task_runner) {
DCHECK(!callback_.is_null())
<< "SingleReleaseCallbackImpl was run more than once.";
base::ResetAndReturn(&callback_)
- .Run(sync_point, is_lost, main_thread_task_runner);
+ .Run(sync_token, is_lost, main_thread_task_runner);
}
} // namespace cc
« no previous file with comments | « cc/resources/single_release_callback_impl.h ('k') | cc/resources/texture_mailbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698