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

Unified Diff: chrome/browser/mac/exception_processor.mm

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 years, 10 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/mac/exception_processor.mm
diff --git a/chrome/browser/mac/exception_processor.mm b/chrome/browser/mac/exception_processor.mm
index b293c94bffa508d466a0a51698e6f5a70c6a85fa..35251ecc5c81af1728da78bc59ce28812ff36841 100644
--- a/chrome/browser/mac/exception_processor.mm
+++ b/chrome/browser/mac/exception_processor.mm
@@ -169,7 +169,7 @@ static id ObjcExceptionPreprocessor(id exception) {
// Check if the function is one that is known to obscure (by way of
// catch-and-rethrow) exception stack traces. If it is, sinkhole it
// by crashing here at the point of throw.
- for (const auto& sinkhole : kExceptionSinkholes) {
+ for (const char* sinkhole : kExceptionSinkholes) {
if (strcmp(sinkhole, proc_name) == 0) {
TERMINATING_FROM_UNCAUGHT_NSEXCEPTION(exception);
}
« no previous file with comments | « chrome/browser/chromeos/printing/fake_printer_discoverer.cc ('k') | chrome/browser/memory/memory_kills_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698