Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index e5ee0cfc3ae607054efc2437abbda88c43ac6914..29507e71d789adb1336f3c5d9efdb04ffc209bac 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -620,6 +620,9 @@ void BrowserMainLoop::PostMainMessageLoopStart() { |
client_native_pixmap_factory_ = ui::ClientNativePixmapFactory::Create(); |
ui::ClientNativePixmapFactory::SetInstance( |
client_native_pixmap_factory_.get()); |
+ base::ScopedFD scoped_fd( |
+ ui::ClientNativePixmapFactory::GetInstance()->OpenVgemFD()); |
+ ui::ClientNativePixmapFactory::GetInstance()->SetVgemFD(&scoped_fd); |
#endif |
if (parsed_command_line_.HasSwitch(switches::kMemoryMetrics)) { |