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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1248713002: ozone: ClientPixmapManager passes VGEM fd from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename to ClientNativePixmapFactory Created 5 years, 4 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
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 d290778c2ef396872a90bc8ac67359e78b6a3f7e..f27f3c643c913c7250d20a15161b411a8cc57b5e 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -191,6 +191,7 @@
#endif
#if defined(USE_OZONE)
+#include "content/browser/gpu/browser_client_native_pixmap_factory_ozone.h"
#include "ui/ozone/public/ozone_switches.h"
#endif
@@ -1591,6 +1592,9 @@ void RenderProcessHostImpl::OnChannelConnected(int32 peer_pid) {
GetID());
Send(new ChildProcessMsg_SetIOSurfaceManagerToken(io_surface_manager_token_));
#endif
+#if defined(USE_OZONE)
+ BrowserClientNativePixmapFactory::GetInstance()->SendVirtualDevice(this);
+#endif
}
void RenderProcessHostImpl::OnChannelError() {

Powered by Google App Engine
This is Rietveld 408576698