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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp

Issue 2161193003: Use __func__ instead of __FUNCTION__. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 4 years, 5 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
Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
index cb4bded0b03a82b517a5d5b606236cf16f13af6e..d8a8e298027950e7df835fcc3d422acaca1ed244 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp
@@ -133,17 +133,17 @@ MediaKeys::MediaKeys(ExecutionContext* context, const WebVector<WebEncryptedMedi
, m_reservedForMediaElement(false)
, m_timer(this, &MediaKeys::timerFired)
{
- DVLOG(MEDIA_KEYS_LOG_LEVEL) << __FUNCTION__ << "(" << this << ")";
+ DVLOG(MEDIA_KEYS_LOG_LEVEL) << __func__ << "(" << this << ")";
}
MediaKeys::~MediaKeys()
{
- DVLOG(MEDIA_KEYS_LOG_LEVEL) << __FUNCTION__ << "(" << this << ")";
+ DVLOG(MEDIA_KEYS_LOG_LEVEL) << __func__ << "(" << this << ")";
}
MediaKeySession* MediaKeys::createSession(ScriptState* scriptState, const String& sessionTypeString, ExceptionState& exceptionState)
{
- DVLOG(MEDIA_KEYS_LOG_LEVEL) << __FUNCTION__ << "(" << this << ") " << sessionTypeString;
+ DVLOG(MEDIA_KEYS_LOG_LEVEL) << __func__ << "(" << this << ") " << sessionTypeString;
// From http://w3c.github.io/encrypted-media/#createSession
@@ -253,7 +253,7 @@ void MediaKeys::timerFired(Timer<MediaKeys>*)
while (!pendingActions.isEmpty()) {
PendingAction* action = pendingActions.takeFirst();
- DVLOG(MEDIA_KEYS_LOG_LEVEL) << __FUNCTION__ << "(" << this << ") Certificate";
+ DVLOG(MEDIA_KEYS_LOG_LEVEL) << __func__ << "(" << this << ") Certificate";
// 5.1 Let cdm be the cdm during the initialization of this object.
WebContentDecryptionModule* cdm = contentDecryptionModule();
@@ -291,7 +291,7 @@ void MediaKeys::contextDestroyed()
bool MediaKeys::hasPendingActivity() const
{
// Remain around if there are pending events.
- DVLOG(MEDIA_KEYS_LOG_LEVEL) << __FUNCTION__ << "(" << this << ")"
+ DVLOG(MEDIA_KEYS_LOG_LEVEL) << __func__ << "(" << this << ")"
<< (!m_pendingActions.isEmpty() ? " !m_pendingActions.isEmpty()" : "")
<< (m_reservedForMediaElement ? " m_reservedForMediaElement" : "");

Powered by Google App Engine
This is Rietveld 408576698