Index: ui/ozone/platform/wayland/wayland_surface_factory.cc |
diff --git a/ui/ozone/platform/wayland/wayland_surface_factory.cc b/ui/ozone/platform/wayland/wayland_surface_factory.cc |
index 11a2ad10bbd96ddd3741bd68af81dbaa31b2ab03..1adb2d74ace82e1fb032f9cad885e444fd3a292f 100644 |
--- a/ui/ozone/platform/wayland/wayland_surface_factory.cc |
+++ b/ui/ozone/platform/wayland/wayland_surface_factory.cc |
@@ -68,7 +68,7 @@ sk_sp<SkSurface> WaylandCanvasSurface::GetSurface() { |
return nullptr; |
wl::Object<wl_shm_pool> pool(wl_shm_create_pool( |
- connection_->shm(), shared_memory->handle().fd, length)); |
+ connection_->shm(), shared_memory->handle().GetHandle(), length)); |
if (!pool) |
return nullptr; |
wl::Object<wl_buffer> buffer( |