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

Unified Diff: ui/ozone/platform/wayland/wayland_window_unittest.cc

Issue 2713373002: Fix 'auto variable type must not deduce to a raw pointer type' errors in Ozone/Wayland code (Closed)
Patch Set: Created 3 years, 10 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 | « ui/ozone/platform/wayland/wayland_pointer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/wayland/wayland_window_unittest.cc
diff --git a/ui/ozone/platform/wayland/wayland_window_unittest.cc b/ui/ozone/platform/wayland/wayland_window_unittest.cc
index 0493c8f0f391b4b144ec9aecdc71554938d07752..66b50db30c8d67387b3195d0cade6a07886addb2 100644
--- a/ui/ozone/platform/wayland/wayland_window_unittest.cc
+++ b/ui/ozone/platform/wayland/wayland_window_unittest.cc
@@ -94,7 +94,7 @@ TEST_F(WaylandWindowTest, DispatchEvent) {
window.DispatchEvent(&test_mouse_event);
ASSERT_TRUE(event);
ASSERT_TRUE(event->IsMouseEvent());
- auto mouse_event = event->AsMouseEvent();
+ auto* mouse_event = event->AsMouseEvent();
EXPECT_EQ(mouse_event->location_f(), test_mouse_event.location_f());
EXPECT_EQ(mouse_event->root_location_f(), test_mouse_event.root_location_f());
EXPECT_EQ(mouse_event->time_stamp(), test_mouse_event.time_stamp());
« no previous file with comments | « ui/ozone/platform/wayland/wayland_pointer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698