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

Unified Diff: components/exo/surface.cc

Issue 2584953002: exo::CompositorFrameSinkHolder's release callbacks hold ref (Closed)
Patch Set: Use ScopedClosureRunner Created 4 years 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
Index: components/exo/surface.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index 6c811518935b3c3ac30a69eb16aaab2eeef55442..5fc8b771b2a8523f4eafc94edbe9cd5d164b81d3 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -665,7 +665,7 @@ void Surface::UpdateResource(bool client_usage) {
texture_mailbox_release_callback =
current_buffer_.buffer()->ProduceTextureMailbox(
&texture_mailbox, state_.only_visible_on_secure_output,
- client_usage);
+ client_usage, compositor_frame_sink_holder_);
}
if (texture_mailbox_release_callback) {

Powered by Google App Engine
This is Rietveld 408576698