Index: components/exo/wayland/server.cc |
diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc |
index bf00c8ee350cbdfe6855aa154b1cea16b0cc8385..099429624c776812176b9109acb65ebd7e8fd236 100644 |
--- a/components/exo/wayland/server.cc |
+++ b/components/exo/wayland/server.cc |
@@ -445,7 +445,7 @@ void shm_create_pool(wl_client* client, |
int32_t size) { |
std::unique_ptr<SharedMemory> shared_memory = |
GetUserDataAs<Display>(resource)->CreateSharedMemory( |
- base::SharedMemoryHandle::ImportHandle(fd), size); |
+ base::SharedMemoryHandle::ImportHandle(fd, size), size); |
if (!shared_memory) { |
wl_resource_post_no_memory(resource); |
return; |