| 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..6193592d151b1b4f39bf54c2ab1640191434606f 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -110,6 +110,7 @@
|
|
|
| #if defined(USE_OZONE)
|
| #include "ui/ozone/public/client_native_pixmap_factory.h"
|
| +#include "ui/ozone/public/ozone_platform.h"
|
| #endif
|
|
|
| #if defined(OS_WIN)
|
| @@ -620,6 +621,9 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
|
| client_native_pixmap_factory_ = ui::ClientNativePixmapFactory::Create();
|
| ui::ClientNativePixmapFactory::SetInstance(
|
| client_native_pixmap_factory_.get());
|
| + auto scoped_fd =
|
| + ui::OzonePlatform::GetInstance()->OpenClientNativePixmapDevice();
|
| + ui::ClientNativePixmapFactory::GetInstance()->Initialize(scoped_fd.Pass());
|
| #endif
|
|
|
| if (parsed_command_line_.HasSwitch(switches::kMemoryMetrics)) {
|
|
|