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

Unified Diff: media/gpu/content_video_view_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
Index: media/gpu/content_video_view_overlay.cc
diff --git a/media/gpu/content_video_view_overlay.cc b/media/gpu/content_video_view_overlay.cc
index 8fc56f7aecce78e32e86026dc88839ddef81f1eb..76d3bc72078a21051667e832578120edca05f9da 100644
--- a/media/gpu/content_video_view_overlay.cc
+++ b/media/gpu/content_video_view_overlay.cc
@@ -60,7 +60,7 @@ void ContentVideoViewOverlay::OnSurfaceAvailable(bool success) {
}
void ContentVideoViewOverlay::OnSurfaceDestroyed() {
- config_.is_destroyed(this);
+ RunSurfaceDestroyedCallbacks();
// |this| may be deleted, or deletion might be posted elsewhere.
}
« no previous file with comments | « media/gpu/android_video_surface_chooser_impl_unittest.cc ('k') | media/mojo/clients/mojo_android_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698