| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 3a1d967db9cc329f5cc420befe0e4d1ada0baa45..74333fd2753431e93fb6272ec0c13e7c506ed753 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -190,6 +190,8 @@
|
| #endif
|
|
|
| #if defined(USE_OZONE)
|
| +#include "ui/ozone/public/client_native_pixmap_factory.h"
|
| +#include "ui/ozone/public/ozone_platform.h"
|
| #include "ui/ozone/public/ozone_switches.h"
|
| #endif
|
|
|
| @@ -1600,6 +1602,12 @@ void RenderProcessHostImpl::OnChannelConnected(int32 peer_pid) {
|
| GetID());
|
| Send(new ChildProcessMsg_SetIOSurfaceManagerToken(io_surface_manager_token_));
|
| #endif
|
| +#if defined(USE_OZONE)
|
| + auto device_fd =
|
| + ui::OzonePlatform::GetInstance()->OpenClientNativePixmapDevice();
|
| + Send(new ChildProcessMsg_InitializeClientNativePixmapFactory(
|
| + base::FileDescriptor(device_fd.Pass())));
|
| +#endif
|
| }
|
|
|
| void RenderProcessHostImpl::OnChannelError() {
|
|
|