From 9f6cf9623ceed04ba0433d2b177acf80281978d8 Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin Date: Tue, 28 Aug 2018 15:30:44 +0200 Subject: [PATCH] chore: fix a chromium-style error osr_render_widget_host_view.cc:1150:12: error: [chromium-style] auto variable type must not deduce to a raw pointer type. (cherry picked from commit cc8e4ef68376627d20377ae3491df8e4f8dee08e) --- atom/browser/osr/osr_render_widget_host_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/osr/osr_render_widget_host_view.cc b/atom/browser/osr/osr_render_widget_host_view.cc index 38b6034ea43f..a6f97727e2a0 100644 --- a/atom/browser/osr/osr_render_widget_host_view.cc +++ b/atom/browser/osr/osr_render_widget_host_view.cc @@ -1161,7 +1161,7 @@ void OffScreenRenderWidgetHostView::SendMouseWheelEvent( popup_host_view_->weak_ptr_factory_.GetWeakPtr())); } } else if (!guest_host_views_.empty()) { - for (auto guest_host_view : guest_host_views_) { + for (auto* guest_host_view : guest_host_views_) { if (!guest_host_view->render_widget_host_ || !guest_host_view->render_widget_host_->GetView()) { continue;