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

Unified Diff: components/exo/buffer_unittest.cc

Issue 1802993003: exo: Add support for secure_output interface to wayland bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wayland-protocols-secure-contents
Patch Set: improve unit test Created 4 years, 9 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 1f0bbe6ec4aec93081d6a907f32be7f1e7adeb9d..434a3675ac1bba9520acd06589b8267c4b5680b3 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;
scoped_ptr<cc::SingleReleaseCallback> buffer_release_callback =
- buffer->ProduceTextureMailbox(&texture_mailbox, false);
+ buffer->ProduceTextureMailbox(&texture_mailbox, false, false);
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;
scoped_ptr<cc::SingleReleaseCallback> buffer_release_callback =
- buffer->ProduceTextureMailbox(&texture_mailbox, false);
+ buffer->ProduceTextureMailbox(&texture_mailbox, false, false);
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, is_lost);
+ buffer->ProduceTextureMailbox(&texture_mailbox, false, is_lost);
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