[chromium-style] auto variable type must not deduce to a raw pointer type

This commit is contained in:
Jeremy Apthorp 2018-04-17 15:41:47 -07:00
parent 667c43398c
commit a635f078c6
61 changed files with 189 additions and 188 deletions

View file

@ -17,7 +17,7 @@
namespace crash_reporter {
CrashReporter::CrashReporter() {
auto cmd = base::CommandLine::ForCurrentProcess();
auto* cmd = base::CommandLine::ForCurrentProcess();
is_browser_ = cmd->GetSwitchValueASCII(switches::kProcessType).empty();
}
@ -102,7 +102,7 @@ CrashReporter* CrashReporter::GetInstance() {
#endif
void CrashReporter::StartInstance(const mate::Dictionary& options) {
auto reporter = GetInstance();
auto* reporter = GetInstance();
if (!reporter)
return;