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

Unified Diff: content/renderer/android/synchronous_compositor_filter.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/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
Index: content/renderer/android/synchronous_compositor_filter.cc
diff --git a/content/renderer/android/synchronous_compositor_filter.cc b/content/renderer/android/synchronous_compositor_filter.cc
index b2a6f0d3ea4fc4ac11fe167a184c823304aca64a..44e1087cbdc376c6b13b0b4f51ef60d90c4dfb88 100644
--- a/content/renderer/android/synchronous_compositor_filter.cc
+++ b/content/renderer/android/synchronous_compositor_filter.cc
@@ -187,7 +187,7 @@ void SynchronousCompositorFilter::DidAddSynchronousHandlerProxy(
if (entry != output_surface_map_.end())
SetProxyOutputSurface(routing_id, entry->second);
} else {
- auto& mapped_synchronous_input_handler_proxy =
+ auto*& mapped_synchronous_input_handler_proxy =
synchronous_input_handler_proxy_map_[routing_id];
DCHECK(!mapped_synchronous_input_handler_proxy);
mapped_synchronous_input_handler_proxy = synchronous_input_handler_proxy;
« no previous file with comments | « content/child/shared_memory_data_consumer_handle_unittest.cc ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698