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

Unified Diff: cc/output/output_surface.cc

Issue 2102833002: cc: Fixup cc to not use auto to deduce a raw pointer. (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 | « cc/output/gl_renderer.cc ('k') | cc/quads/render_pass.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.cc
diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
index 9f3426a994b155d4aa1a196f177bc94617ca5b7c..21277b8f87429f5fe98e8ba1dc91581c7168c85a 100644
--- a/cc/output/output_surface.cc
+++ b/cc/output/output_surface.cc
@@ -49,7 +49,7 @@ class SkiaGpuTraceMemoryDump : public SkTraceMemoryDump {
const char* value_name,
const char* units,
uint64_t value) override {
- auto dump = GetOrCreateAllocatorDump(dump_name);
+ auto* dump = GetOrCreateAllocatorDump(dump_name);
dump->AddScalar(value_name, units, value);
}
@@ -104,7 +104,7 @@ class SkiaGpuTraceMemoryDump : public SkTraceMemoryDump {
// Helper to create allocator dumps.
base::trace_event::MemoryAllocatorDump* GetOrCreateAllocatorDump(
const char* dump_name) {
- auto dump = pmd_->GetAllocatorDump(dump_name);
+ auto* dump = pmd_->GetAllocatorDump(dump_name);
if (!dump)
dump = pmd_->CreateAllocatorDump(dump_name);
return dump;
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/quads/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698