Chromium Code Reviews| 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 25691d4c59d5b7b9e30ea31a7cc9f11906c0789c..d1cfe2bd86a83888f483db7297a6d5e7ace8d804 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -191,6 +191,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 |
| @@ -1597,6 +1599,12 @@ void RenderProcessHostImpl::OnChannelConnected(int32 peer_pid) { |
| GetID()); |
| Send(new ChildProcessMsg_SetIOSurfaceManagerToken(io_surface_manager_token_)); |
| #endif |
| +#if defined(USE_OZONE) |
| + Send(new ChildProcessMsg_InitializeClientNativePixmapFactory( |
| + base::FileDescriptor(ui::OzonePlatform::GetInstance() |
| + ->OpenClientNativePixmapDevice() |
| + .Pass()))); |
|
dcheng
2015/08/31 17:40:53
Pass() here is also unnecessary.
dshwang
2015/08/31 18:12:29
Done.
|
| +#endif |
| } |
| void RenderProcessHostImpl::OnChannelError() { |