Chromium Code Reviews| Index: chrome/browser/chromeos/media/media_player.cc |
| diff --git a/chrome/browser/chromeos/media/media_player.cc b/chrome/browser/chromeos/media/media_player.cc |
| index 4ecf52c76dc86635720aa1ad30857ef92a88144e..b78cb14d20e0ab4ac090fb08a0b9e296eea0a9cd 100644 |
| --- a/chrome/browser/chromeos/media/media_player.cc |
| +++ b/chrome/browser/chromeos/media/media_player.cc |
| @@ -118,6 +118,7 @@ void MediaPlayer::ForcePlayMediaURL(const GURL& url, Browser* creator) { |
| if (mediaplayer_browser_ == NULL) { |
| PopupMediaPlayer(creator); |
| } |
| + current_playlist_.clear(); |
|
Vladislav Kaznacheev
2011/08/10 13:34:58
This seriously changes the behavior. Does the bug
SeRya
2011/08/10 15:51:00
This change solves a separate problems and I filed
|
| current_playlist_.push_back(MediaUrl(url)); |
| current_position_ = current_playlist_.size() - 1; |
| pending_playback_request_ = true; |