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

Unified Diff: media/mojo/clients/mojo_android_overlay.cc

Issue 2883913003: Add multiple destruction callbacks to AndroidOverlay. (Closed)
Patch Set: rebased.... though i got not conflicts? Created 3 years, 7 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 | « media/gpu/content_video_view_overlay.cc ('k') | media/mojo/clients/mojo_android_overlay_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_android_overlay.cc
diff --git a/media/mojo/clients/mojo_android_overlay.cc b/media/mojo/clients/mojo_android_overlay.cc
index eb03d7414ba477292c375171f882f475c5cb8cbf..41f8e6e03c9e8e88f47bb05e0c2523a46cdfbba4 100644
--- a/media/mojo/clients/mojo_android_overlay.cc
+++ b/media/mojo/clients/mojo_android_overlay.cc
@@ -73,7 +73,7 @@ void MojoAndroidOverlay::OnDestroyed() {
if (!received_surface_)
config_.is_failed(this);
else
- config_.is_destroyed(this);
+ RunSurfaceDestroyedCallbacks();
// Note: we do not delete |overlay_ptr_| here. Our client must delete us to
// signal that we should do that, since it still might be in use.
« no previous file with comments | « media/gpu/content_video_view_overlay.cc ('k') | media/mojo/clients/mojo_android_overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698