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

Unified Diff: skia/ext/skia_memory_dump_provider.cc

Issue 2105123002: various: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « services/tracing/tracing_app.cc ('k') | skia/ext/skia_trace_memory_dump_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_memory_dump_provider.cc
diff --git a/skia/ext/skia_memory_dump_provider.cc b/skia/ext/skia_memory_dump_provider.cc
index c53cf7e62da82df8684a22fad8e2ef8ff142f47d..5c61225bd0e4bb28999fba3894926ef8c830f7f6 100644
--- a/skia/ext/skia_memory_dump_provider.cc
+++ b/skia/ext/skia_memory_dump_provider.cc
@@ -28,13 +28,13 @@ bool SkiaMemoryDumpProvider::OnMemoryDump(
base::trace_event::ProcessMemoryDump* process_memory_dump) {
if (args.level_of_detail ==
base::trace_event::MemoryDumpLevelOfDetail::BACKGROUND) {
- auto glyph_cache_dump =
+ auto* glyph_cache_dump =
process_memory_dump->CreateAllocatorDump("skia/sk_glyph_cache");
glyph_cache_dump->AddScalar(
base::trace_event::MemoryAllocatorDump::kNameSize,
base::trace_event::MemoryAllocatorDump::kUnitsBytes,
SkGraphics::GetFontCacheUsed());
- auto resource_cache_dump =
+ auto* resource_cache_dump =
process_memory_dump->CreateAllocatorDump("skia/sk_resource_cache");
resource_cache_dump->AddScalar(
base::trace_event::MemoryAllocatorDump::kNameSize,
« no previous file with comments | « services/tracing/tracing_app.cc ('k') | skia/ext/skia_trace_memory_dump_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698