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

Unified Diff: chrome/browser/win/settings_app_monitor.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/win/settings_app_monitor.cc
diff --git a/chrome/browser/win/settings_app_monitor.cc b/chrome/browser/win/settings_app_monitor.cc
index 2bb39c983ef1c2e9d95341d9a660056a91c6d9f7..df7fecb6449065d569906fe2cbded82dabc59539 100644
--- a/chrome/browser/win/settings_app_monitor.cc
+++ b/chrome/browser/win/settings_app_monitor.cc
@@ -169,7 +169,7 @@ base::string16 GetCachedBstrValue(IUIAutomationElement* element,
if (V_VT(var.ptr()) != VT_BSTR) {
LOG_IF(ERROR, V_VT(var.ptr()) != VT_UNKNOWN)
- << __FUNCTION__ << " property is not a BSTR: " << V_VT(var.ptr());
+ << __func__ << " property is not a BSTR: " << V_VT(var.ptr());
return base::string16();
}
@@ -224,7 +224,7 @@ bool GetCachedBoolValue(IUIAutomationElement* element, PROPERTYID property_id) {
if (V_VT(var.ptr()) != VT_BOOL) {
LOG_IF(ERROR, V_VT(var.ptr()) != VT_UNKNOWN)
- << __FUNCTION__ << " property is not a BOOL: " << V_VT(var.ptr());
+ << __func__ << " property is not a BOOL: " << V_VT(var.ptr());
return false;
}
@@ -246,7 +246,7 @@ int32_t GetCachedInt32Value(IUIAutomationElement* element,
if (V_VT(var.ptr()) != VT_I4) {
LOG_IF(ERROR, V_VT(var.ptr()) != VT_UNKNOWN)
- << __FUNCTION__ << " property is not an I4: " << V_VT(var.ptr());
+ << __func__ << " property is not an I4: " << V_VT(var.ptr());
return false;
}
@@ -269,7 +269,7 @@ std::vector<int32_t> GetCachedInt32ArrayValue(IUIAutomationElement* element,
if (V_VT(var.ptr()) != (VT_I4 | VT_ARRAY)) {
LOG_IF(ERROR, V_VT(var.ptr()) != VT_UNKNOWN)
- << __FUNCTION__ << " property is not an I4 array: " << V_VT(var.ptr());
+ << __func__ << " property is not an I4 array: " << V_VT(var.ptr());
return values;
}
« no previous file with comments | « chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc ('k') | chrome/install_static/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698