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

Unified Diff: components/exo/buffer_unittest.cc

Issue 2404513002: exo: Implement zcr_linux_explicit_synchronization_v1
Patch Set: rebase, pull in cl 2443823002 Created 4 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 | « components/exo/buffer.cc ('k') | components/exo/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/buffer_unittest.cc
diff --git a/components/exo/buffer_unittest.cc b/components/exo/buffer_unittest.cc
index 987c29056538f8a580c6c9eedddd5c5583d68a9d..fa0fc66147d507dbe4485ce99a4c54917a90711d 100644
--- a/components/exo/buffer_unittest.cc
+++ b/components/exo/buffer_unittest.cc
@@ -41,7 +41,7 @@ TEST_F(BufferTest, ReleaseCallback) {
// Produce a texture mailbox for the contents of the buffer.
cc::TextureMailbox texture_mailbox;
std::unique_ptr<cc::SingleReleaseCallback> buffer_release_callback =
- buffer->ProduceTextureMailbox(&texture_mailbox, false, true);
+ buffer->ProduceTextureMailbox(&texture_mailbox, nullptr, false, true);
ASSERT_TRUE(buffer_release_callback);
// Release buffer.
@@ -64,7 +64,7 @@ TEST_F(BufferTest, IsLost) {
// Acquire a texture mailbox for the contents of the buffer.
cc::TextureMailbox texture_mailbox;
std::unique_ptr<cc::SingleReleaseCallback> buffer_release_callback =
- buffer->ProduceTextureMailbox(&texture_mailbox, false, true);
+ buffer->ProduceTextureMailbox(&texture_mailbox, nullptr, false, true);
ASSERT_TRUE(buffer_release_callback);
scoped_refptr<cc::ContextProvider> context_provider =
@@ -83,7 +83,7 @@ TEST_F(BufferTest, IsLost) {
// Producing a new texture mailbox for the contents of the buffer.
std::unique_ptr<cc::SingleReleaseCallback> buffer_release_callback2 =
- buffer->ProduceTextureMailbox(&texture_mailbox, false, false);
+ buffer->ProduceTextureMailbox(&texture_mailbox, nullptr, false, false);
ASSERT_TRUE(buffer_release_callback2);
buffer->OnDetach();
« no previous file with comments | « components/exo/buffer.cc ('k') | components/exo/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698