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

Unified Diff: components/exo/buffer.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.h ('k') | components/exo/buffer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/buffer.cc
diff --git a/components/exo/buffer.cc b/components/exo/buffer.cc
index 3989adaf07c00220b19c656da827fbdabaf632b9..d279d94b8630b15a30eaa97824467ddf234fd7d9 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -365,6 +365,7 @@ Buffer::~Buffer() {}
scoped_ptr<cc::SingleReleaseCallback> Buffer::ProduceTextureMailbox(
cc::TextureMailbox* texture_mailbox,
+ bool secure_output_only,
bool lost_context) {
DLOG_IF(WARNING, use_count_)
<< "Producing a texture mailbox for a buffer that has not been released";
@@ -408,9 +409,6 @@ scoped_ptr<cc::SingleReleaseCallback> Buffer::ProduceTextureMailbox(
texture_target_, query_type_));
}
- // TODO(dcastagna): Set properly based on the flag on the imported buffer.
- bool secure_output_only = false;
-
if (use_zero_copy_) {
// Zero-copy means using the contents texture directly.
Texture* texture = contents_texture_.get();
« no previous file with comments | « components/exo/buffer.h ('k') | components/exo/buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698