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

Unified Diff: media/remoting/rpc/rpc_broker.cc

Issue 2518403004: media: Use __func__ instead of __FUNCTION__ (Closed)
Patch Set: rebase Created 4 years 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/remoting/remote_renderer_impl.cc ('k') | media/test/pipeline_integration_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/rpc/rpc_broker.cc
diff --git a/media/remoting/rpc/rpc_broker.cc b/media/remoting/rpc/rpc_broker.cc
index 8f7c3cec4449d8a7cdfb97b7a7a52ec0bee58f09..18c0a005aec40ef6bcc86882c7becca91697dda4 100644
--- a/media/remoting/rpc/rpc_broker.cc
+++ b/media/remoting/rpc/rpc_broker.cc
@@ -39,14 +39,14 @@ int RpcBroker::GetUniqueHandle() {
void RpcBroker::RegisterMessageReceiverCallback(
int handle,
const ReceiveMessageCallback& callback) {
- VLOG(2) << __FUNCTION__ << "handle=" << handle;
+ VLOG(2) << __func__ << "handle=" << handle;
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(receive_callbacks_.find(handle) == receive_callbacks_.end());
receive_callbacks_[handle] = callback;
}
void RpcBroker::UnregisterMessageReceiverCallback(int handle) {
- VLOG(2) << __FUNCTION__ << " handle=" << handle;
+ VLOG(2) << __func__ << " handle=" << handle;
DCHECK(thread_checker_.CalledOnValidThread());
receive_callbacks_.erase(handle);
}
« no previous file with comments | « media/remoting/remote_renderer_impl.cc ('k') | media/test/pipeline_integration_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698