mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user