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. |