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

Unified Diff: chrome/browser/platform_util_win.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/platform_util_win.cc
diff --git a/chrome/browser/platform_util_win.cc b/chrome/browser/platform_util_win.cc
index 7370104799ba675278c483d9d984fc74dd01901d..f514729e8bfdd15936a048f317218685fe5a1317 100644
--- a/chrome/browser/platform_util_win.cc
+++ b/chrome/browser/platform_util_win.cc
@@ -62,7 +62,7 @@ void ShowItemInFolderOnFileThread(const base::FilePath& full_path) {
// the process.
HMODULE shell32_base = GetModuleHandle(L"shell32.dll");
if (!shell32_base) {
- NOTREACHED() << " " << __FUNCTION__ << "(): Can't open shell32.dll";
+ NOTREACHED() << " " << __func__ << "(): Can't open shell32.dll";
return;
}
open_folder_and_select_itemsPtr =
@@ -105,7 +105,7 @@ void ShowItemInFolderOnFileThread(const base::FilePath& full_path) {
if (hr == ERROR_FILE_NOT_FOUND) {
ShellExecute(NULL, L"open", dir.value().c_str(), NULL, NULL, SW_SHOW);
} else {
- LOG(WARNING) << " " << __FUNCTION__ << "(): Can't open full_path = \""
+ LOG(WARNING) << " " << __func__ << "(): Can't open full_path = \""
<< full_path.value() << "\""
<< " hr = " << logging::SystemErrorCodeToString(hr);
}
« no previous file with comments | « chrome/browser/metrics/thread_watcher_report_hang.cc ('k') | chrome/browser/safe_browsing/download_feedback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698