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

Unified Diff: components/tracing/child/child_memory_dump_manager_delegate_impl.cc

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+one fix 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: components/tracing/child/child_memory_dump_manager_delegate_impl.cc
diff --git a/components/tracing/child/child_memory_dump_manager_delegate_impl.cc b/components/tracing/child/child_memory_dump_manager_delegate_impl.cc
index 20078e7c32e8f34d54deb65b6e8916c8c58d8a94..f0c4517b2ea4b44dedf3d0f9519402155f08ec67 100644
--- a/components/tracing/child/child_memory_dump_manager_delegate_impl.cc
+++ b/components/tracing/child/child_memory_dump_manager_delegate_impl.cc
@@ -37,7 +37,7 @@ ChildMemoryDumpManagerDelegateImpl::~ChildMemoryDumpManagerDelegateImpl() {}
void ChildMemoryDumpManagerDelegateImpl::SetChildTraceMessageFilter(
ChildTraceMessageFilter* ctmf) {
- const auto& task_runner = ctmf ? (ctmf->ipc_task_runner()) : nullptr;
+ auto* task_runner = ctmf ? (ctmf->ipc_task_runner()) : nullptr;
// Check that we are either registering the CTMF or tearing it down, but not
// replacing a valid instance with another one (should never happen).
DCHECK(!ctmf_ || (!ctmf && ctmf_task_runner_));

Powered by Google App Engine
This is Rietveld 408576698