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

Unified Diff: content/browser/accessibility/browser_accessibility_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
« no previous file with comments | « components/offline_pages/background/request_coordinator.cc ('k') | content/browser/download/base_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 2b356a2c8ea5e3b0ba551718eb4853c9c382d374..4a10dda29d19750b7849758afeb6766d70870905 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -516,8 +516,7 @@ STDMETHODIMP BrowserAccessibilityWin::get_accParent(IDispatch** disp_parent) {
// destruction. Possible cases where this could occur include tabs being
// dragged to a new window, etc.
if (!parent_obj) {
- DVLOG(1) << "In Function: "
- << __FUNCTION__
+ DVLOG(1) << "In Function: " << __func__
<< ". Parent IAccessible interface is NULL. Returning failure";
return E_FAIL;
}
@@ -3224,10 +3223,7 @@ BrowserAccessibilityWin::ConvertReturnedElement(
STDMETHODIMP BrowserAccessibilityWin::GetPatternProvider(PATTERNID id,
IUnknown** provider) {
- DVLOG(1) << "In Function: "
- << __FUNCTION__
- << " for pattern id: "
- << id;
+ DVLOG(1) << "In Function: " << __func__ << " for pattern id: " << id;
if (id == UIA_ValuePatternId || id == UIA_TextPatternId) {
if (HasState(ui::AX_STATE_EDITABLE)) {
DVLOG(1) << "Returning UIA text provider";
@@ -3241,10 +3237,7 @@ STDMETHODIMP BrowserAccessibilityWin::GetPatternProvider(PATTERNID id,
STDMETHODIMP BrowserAccessibilityWin::GetPropertyValue(PROPERTYID id,
VARIANT* ret) {
- DVLOG(1) << "In Function: "
- << __FUNCTION__
- << " for property id: "
- << id;
+ DVLOG(1) << "In Function: " << __func__ << " for property id: " << id;
V_VT(ret) = VT_EMPTY;
if (id == UIA_ControlTypePropertyId) {
if (HasState(ui::AX_STATE_EDITABLE)) {
« no previous file with comments | « components/offline_pages/background/request_coordinator.cc ('k') | content/browser/download/base_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698