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

Unified Diff: chrome/browser/metrics/thread_watcher_report_hang.cc

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: chrome/browser/metrics/thread_watcher_report_hang.cc
diff --git a/chrome/browser/metrics/thread_watcher_report_hang.cc b/chrome/browser/metrics/thread_watcher_report_hang.cc
index de6b20041fac1f4463bb20b16cdb5a33470f4e14..9ba6a7f3cf7d88a7511b1ddfdfc6eaf9bb52d40d 100644
--- a/chrome/browser/metrics/thread_watcher_report_hang.cc
+++ b/chrome/browser/metrics/thread_watcher_report_hang.cc
@@ -19,7 +19,7 @@ namespace metrics {
// is unresponsive. This makes it possible to tell from the callstack alone what
// thread was unresponsive.
NOINLINE void ReportThreadHang() {
- volatile const char* inhibit_comdat = __FUNCTION__;
+ volatile const char* inhibit_comdat = __func__;
ALLOW_UNUSED_LOCAL(inhibit_comdat);
#if defined(NDEBUG)
base::debug::DumpWithoutCrashing();
« no previous file with comments | « chrome/browser/media/router/presentation_session_messages_observer.cc ('k') | chrome/browser/platform_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698