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(); |