Chromium Code Reviews| Index: content/browser/browser_main_loop.cc |
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
| index b5159df02a3e91b640f71dc37d0e5e82f77e634a..461d4bff53cf053ad3ab787c90f9731595802ce4 100644 |
| --- a/content/browser/browser_main_loop.cc |
| +++ b/content/browser/browser_main_loop.cc |
| @@ -111,6 +111,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) |
| @@ -621,6 +622,8 @@ void BrowserMainLoop::PostMainMessageLoopStart() { |
| client_native_pixmap_factory_ = ui::ClientNativePixmapFactory::Create(); |
| ui::ClientNativePixmapFactory::SetInstance( |
| client_native_pixmap_factory_.get()); |
| + ui::ClientNativePixmapFactory::GetInstance()->Initialize( |
| + ui::OzonePlatform::GetInstance()->OpenClientNativePixmapDevice().Pass()); |
|
dcheng
2015/08/31 17:40:53
Pass() here is unnecessary.
dshwang
2015/08/31 18:12:29
Done. I didn't know that ScopedGeneric has move co
|
| #endif |
| if (parsed_command_line_.HasSwitch(switches::kMemoryMetrics)) { |