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

Unified Diff: services/ui/ws/frame_generator.cc

Issue 2175243004: services/{ui,shell}: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update 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/ui/gles2/command_buffer_driver_manager.cc ('k') | services/ui/ws/modal_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index 99c87813f5dced11dc6727a83c2c717689067eea..c312d00565914bdd251d952f45ff19cea23c8c8a 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -174,7 +174,7 @@ void FrameGenerator::DrawWindowTree(
bounds_at_origin /* clip_rect */, false /* is_clipped */,
combined_opacity, SkXfermode::kSrcOver_Mode,
0 /* sorting-context_id */);
- auto quad = pass->CreateAndAppendDrawQuad<cc::SurfaceDrawQuad>();
+ auto* quad = pass->CreateAndAppendDrawQuad<cc::SurfaceDrawQuad>();
quad->SetAll(sqs, bounds_at_origin /* rect */,
gfx::Rect() /* opaque_rect */,
bounds_at_origin /* visible_rect */, true /* needs_blending*/,
@@ -196,7 +196,7 @@ void FrameGenerator::DrawWindowTree(
combined_opacity, SkXfermode::kSrcOver_Mode,
0 /* sorting-context_id */);
- auto quad = pass->CreateAndAppendDrawQuad<cc::SurfaceDrawQuad>();
+ auto* quad = pass->CreateAndAppendDrawQuad<cc::SurfaceDrawQuad>();
quad->SetAll(sqs, bounds_at_origin /* rect */,
gfx::Rect() /* opaque_rect */,
bounds_at_origin /* visible_rect */, true /* needs_blending*/,
« no previous file with comments | « services/ui/gles2/command_buffer_driver_manager.cc ('k') | services/ui/ws/modal_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698