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

Unified Diff: cc/output/texture_mailbox_deleter_unittest.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: Folded sync_point into sync_tokens Created 5 years, 2 months 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
Index: cc/output/texture_mailbox_deleter_unittest.cc
diff --git a/cc/output/texture_mailbox_deleter_unittest.cc b/cc/output/texture_mailbox_deleter_unittest.cc
index 37b971237257c633f6fb02a10a24e2cfd088671b..84e7d46ccb6bd8172686167a1e53910c31ecf0aa 100644
--- a/cc/output/texture_mailbox_deleter_unittest.cc
+++ b/cc/output/texture_mailbox_deleter_unittest.cc
@@ -41,7 +41,7 @@ TEST(TextureMailboxDeleterTest, Destroy) {
// Run the scoped release callback before destroying it, but it won't do
// anything.
- cb->Run(0, false);
+ cb->Run(gpu::SyncToken(), false);
}
TEST(TextureMailboxDeleterTest, NullTaskRunner) {
@@ -62,7 +62,7 @@ TEST(TextureMailboxDeleterTest, NullTaskRunner) {
EXPECT_FALSE(context_provider->HasOneRef());
EXPECT_EQ(1u, context_provider->TestContext3d()->NumTextures());
- cb->Run(0, false);
+ cb->Run(gpu::SyncToken(), false);
// With no task runner the callback will immediately drops its ref on the
// ContextProvider and delete the texture.

Powered by Google App Engine
This is Rietveld 408576698