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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 2837133002: To M59: Add MediaError.message (Closed)
Patch Set: Created 3 years, 8 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/blink/webmediaplayer_impl.h ('k') | media/test/data/player.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.cc
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
index 83b6df200c12fd6bbd6a6461d75a2dbc43e2523e..00c5d1d370877260edbd931e7022eaeb41fcba72 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -783,9 +783,9 @@ WebMediaPlayer::ReadyState WebMediaPlayerImpl::GetReadyState() const {
return ready_state_;
}
-blink::WebString WebMediaPlayerImpl::GetErrorMessage() {
+blink::WebString WebMediaPlayerImpl::GetErrorMessage() const {
DCHECK(main_task_runner_->BelongsToCurrentThread());
- return blink::WebString::FromUTF8(media_log_->GetLastErrorMessage());
+ return blink::WebString::FromUTF8(media_log_->GetErrorMessage());
}
blink::WebTimeRanges WebMediaPlayerImpl::Buffered() const {
« no previous file with comments | « media/blink/webmediaplayer_impl.h ('k') | media/test/data/player.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698