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

Unified Diff: content/renderer/media/android/stream_texture_wrapper_impl.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
Index: content/renderer/media/android/stream_texture_wrapper_impl.cc
diff --git a/content/renderer/media/android/stream_texture_wrapper_impl.cc b/content/renderer/media/android/stream_texture_wrapper_impl.cc
index b5dbbb7d27c410daa96af42e3a3385d10333c7d8..67ecb156140c3a4038aceda5e4f2a1a200bd7b62 100644
--- a/content/renderer/media/android/stream_texture_wrapper_impl.cc
+++ b/content/renderer/media/android/stream_texture_wrapper_impl.cc
@@ -67,7 +67,7 @@ scoped_refptr<media::VideoFrame> StreamTextureWrapperImpl::GetCurrentFrame() {
void StreamTextureWrapperImpl::ReallocateVideoFrame(
const gfx::Size& natural_size) {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
DCHECK(main_task_runner_->BelongsToCurrentThread());
GLES2Interface* gl = factory_->ContextGL();
@@ -120,7 +120,7 @@ void StreamTextureWrapperImpl::SetCurrentFrameInternal(
}
void StreamTextureWrapperImpl::UpdateTextureSize(const gfx::Size& new_size) {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
if (!main_task_runner_->BelongsToCurrentThread()) {
main_task_runner_->PostTask(
@@ -143,7 +143,7 @@ void StreamTextureWrapperImpl::Initialize(
const gfx::Size& natural_size,
scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner,
const base::Closure& init_cb) {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
compositor_task_runner_ = compositor_task_runner;
natural_size_ = natural_size;
@@ -158,7 +158,7 @@ void StreamTextureWrapperImpl::InitializeOnMainThread(
const base::Closure& received_frame_cb,
const base::Closure& init_cb) {
DCHECK(main_task_runner_->BelongsToCurrentThread());
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
stream_texture_proxy_ = factory_->CreateProxy(
kGLTextureExternalOES, &texture_id_, &texture_mailbox_);

Powered by Google App Engine
This is Rietveld 408576698