Index: media/base/android/media_player_android.h |
diff --git a/media/base/android/media_player_android.h b/media/base/android/media_player_android.h |
index 823691c2526aaf7a63c5f562727dbd7c488a5062..d9091d4195b414f065ab9a5ae319a373a43a2b11 100644 |
--- a/media/base/android/media_player_android.h |
+++ b/media/base/android/media_player_android.h |
@@ -38,10 +38,6 @@ |
// Callback when the player needs decoding resources. |
typedef base::Callback<void(int player_id)> RequestMediaResourcesCB; |
- |
- // Virtual destructor. |
- // For most subclasses we can delete on the caller thread. |
- virtual void DeleteOnCorrectThread() { delete this; } |
// Passing an external java surface object to the player. |
virtual void SetVideoSurface(gfx::ScopedJavaSurface surface) = 0; |
@@ -106,11 +102,6 @@ |
// events. Otherwise, it also listens to the events from |j_media_player|. |
void AttachListener(jobject j_media_player); |
void DetachListener(); |
- |
- // When destroying a subclassed object on a non-UI thread |
- // it is still required to destroy the |listener_| related stuff |
- // on the UI thread. |
- void DestroyListenerOnUIThread(); |
void SetAudible(bool is_audible); |
MediaPlayerManager* manager() { return manager_; } |