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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2344413002: Correct function names in log messages in HTMLMediaElement.cpp (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index 4b0c964be78172ce5cc7eae3c9642c835a39a006..0533dd42aad1853a5a062c46ed9a20ef2e01da53 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -971,7 +971,7 @@ void HTMLMediaElement::loadSourceFromAttribute()
// If the src attribute's value is the empty string ... jump down to the failed step below
if (srcValue.isEmpty()) {
mediaLoadingFailed(WebMediaPlayer::NetworkStateFormatError);
- BLINK_MEDIA_LOG << "selectMediaResource(" << (void*)this << "), empty 'src'";
+ BLINK_MEDIA_LOG << "loadSourceFromAttribute(" << (void*)this << "), empty 'src'";
return;
}
@@ -1437,7 +1437,7 @@ void HTMLMediaElement::mediaLoadingFailed(WebMediaPlayer::NetworkState error)
if (m_currentSourceNode)
m_currentSourceNode->scheduleErrorEvent();
else
- BLINK_MEDIA_LOG << "setNetworkState(" << (void*)this << ") - error event not sent, <source> was removed";
+ BLINK_MEDIA_LOG << "mediaLoadingFailed(" << (void*)this << ") - error event not sent, <source> was removed";
// 9.Otherwise.10 - Asynchronously await a stable state. The synchronous section consists of all the remaining steps of this algorithm until the algorithm says the synchronous section has ended.
@@ -1445,10 +1445,10 @@ void HTMLMediaElement::mediaLoadingFailed(WebMediaPlayer::NetworkState error)
forgetResourceSpecificTracks();
if (havePotentialSourceChild()) {
- BLINK_MEDIA_LOG << "setNetworkState(" << (void*)this << ") - scheduling next <source>";
+ BLINK_MEDIA_LOG << "mediaLoadingFailed(" << (void*)this << ") - scheduling next <source>";
scheduleNextSourceChild();
} else {
- BLINK_MEDIA_LOG << "setNetworkState(" << (void*)this << ") - no more <source> elements, waiting";
+ BLINK_MEDIA_LOG << "mediaLoadingFailed(" << (void*)this << ") - no more <source> elements, waiting";
waitForSourceChange();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698