Chromium Code Reviews| Index: content/test/content_test_suite.cc |
| diff --git a/content/test/content_test_suite.cc b/content/test/content_test_suite.cc |
| index aaf664890c4a65a79188b6c3fae9fe49847fa6c1..5ec0e2daaaaf3ba95346f19d50b76410e59f052e 100644 |
| --- a/content/test/content_test_suite.cc |
| +++ b/content/test/content_test_suite.cc |
| @@ -37,6 +37,7 @@ |
| #if defined(USE_OZONE) |
| #include "ui/ozone/public/client_native_pixmap_factory.h" |
| +#include "ui/ozone/public/ozone_platform.h" |
| #endif |
| namespace content { |
| @@ -115,6 +116,10 @@ void ContentTestSuite::Initialize() { |
| 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 should also be unnecessary.
dshwang
2015/08/31 18:12:29
Done.
|
| } |
| #endif |
| } |