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

Unified Diff: content/browser/accessibility/browser_accessibility_cocoa.mm

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update 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: content/browser/accessibility/browser_accessibility_cocoa.mm
diff --git a/content/browser/accessibility/browser_accessibility_cocoa.mm b/content/browser/accessibility/browser_accessibility_cocoa.mm
index 6b6a156d06e93483d2319e388734eeb19c24a3c5..44c8c2803cc9df1e5f06cc90547bc85a204bb6c5 100644
--- a/content/browser/accessibility/browser_accessibility_cocoa.mm
+++ b/content/browser/accessibility/browser_accessibility_cocoa.mm
@@ -155,7 +155,7 @@ bool GetTextMarkerData(AXTextMarkerRef text_marker,
int* offset) {
DCHECK(text_marker);
DCHECK(object && offset);
- auto marker_data = reinterpret_cast<const AXTextMarkerData*>(
+ const auto* marker_data = reinterpret_cast<const AXTextMarkerData*>(
AXTextMarkerGetBytePtr(text_marker));
if (!marker_data)
return false;
« no previous file with comments | « content/browser/accessibility/browser_accessibility.cc ('k') | content/browser/accessibility/browser_accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698