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

Unified Diff: media/capture/video/android/video_capture_device_factory_android.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: media/capture/video/android/video_capture_device_factory_android.cc
diff --git a/media/capture/video/android/video_capture_device_factory_android.cc b/media/capture/video/android/video_capture_device_factory_android.cc
index 4998022c08d0c558e94105287563c4fd810ab711..23748fd4e0e00a7ba04cd6d260937a9e172a9e7f 100644
--- a/media/capture/video/android/video_capture_device_factory_android.cc
+++ b/media/capture/video/android/video_capture_device_factory_android.cc
@@ -61,7 +61,7 @@ void VideoCaptureDeviceFactoryAndroid::GetDeviceDescriptors(
const JavaRef<jobject>& context = base::android::GetApplicationContext();
const int num_cameras =
Java_VideoCaptureFactory_getNumberOfCameras(env, context);
- DVLOG(1) << __FUNCTION__ << ": num_cameras=" << num_cameras;
+ DVLOG(1) << __func__ << ": num_cameras=" << num_cameras;
if (num_cameras <= 0)
return;
@@ -84,7 +84,7 @@ void VideoCaptureDeviceFactoryAndroid::GetDeviceDescriptors(
display_name, device_id,
static_cast<VideoCaptureApi>(capture_api_type));
- DVLOG(1) << __FUNCTION__ << ": camera "
+ DVLOG(1) << __func__ << ": camera "
<< "device_name=" << display_name << ", unique_id=" << device_id;
}
}
« no previous file with comments | « media/capture/video/android/video_capture_device_android.cc ('k') | media/capture/video/mac/video_capture_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698