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

Unified Diff: components/exo/buffer_unittest.cc

Issue 2041663002: exo: Handle cross-fade animations properly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remote-shell-version-2
Patch Set: remove double negative Created 4 years, 6 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
« no previous file with comments | « components/exo/buffer.cc ('k') | components/exo/surface.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 007dce8c352d7d80bbe3e5e21550df7e80c848c8..899b4e7687159efa1355562faf7f2f85eaf61f32 100644
--- a/components/exo/buffer_unittest.cc
+++ b/components/exo/buffer_unittest.cc
@@ -40,7 +40,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, false);
+ buffer->ProduceTextureMailbox(&texture_mailbox, false, true);
ASSERT_TRUE(buffer_release_callback);
// Release buffer.
@@ -58,7 +58,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, false);
+ buffer->ProduceTextureMailbox(&texture_mailbox, false, true);
ASSERT_TRUE(buffer_release_callback);
scoped_refptr<cc::ContextProvider> context_provider =
@@ -77,7 +77,7 @@ TEST_F(BufferTest, IsLost) {
// Producing a new texture mailbox for the contents of the buffer.
buffer_release_callback =
- buffer->ProduceTextureMailbox(&texture_mailbox, false, is_lost);
+ buffer->ProduceTextureMailbox(&texture_mailbox, false, false);
ASSERT_TRUE(buffer_release_callback);
// Release buffer.
« no previous file with comments | « components/exo/buffer.cc ('k') | components/exo/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698