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

Unified Diff: media/base/android/mock_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/base/android/android_overlay.cc ('k') | media/base/android_overlay_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/mock_android_overlay.cc
diff --git a/media/base/android/mock_android_overlay.cc b/media/base/android/mock_android_overlay.cc
index 98afca5294988f3ae4b1304e1c8ba8f5b668b533..d41d738625767c388b3a2f3ec4c497bd0d729923 100644
--- a/media/base/android/mock_android_overlay.cc
+++ b/media/base/android/mock_android_overlay.cc
@@ -43,7 +43,7 @@ void MockAndroidOverlay::OnOverlayFailed() {
}
void MockAndroidOverlay::OnSurfaceDestroyed() {
- config_->is_destroyed(this);
+ RunSurfaceDestroyedCallbacks();
}
} // namespace media
« no previous file with comments | « media/base/android/android_overlay.cc ('k') | media/base/android_overlay_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698