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..9a80349ba248db03cd684b331018b63759ebbebe 100644 |
--- a/content/test/content_test_suite.cc |
+++ b/content/test/content_test_suite.cc |
@@ -36,7 +36,7 @@ |
#endif |
#if defined(USE_OZONE) |
-#include "ui/ozone/public/client_native_pixmap_factory.h" |
+#include "content/test/test_client_native_pixmap_factory_ozone.h" |
#endif |
namespace content { |
@@ -112,9 +112,8 @@ void ContentTestSuite::Initialize() { |
#endif |
#if defined(USE_OZONE) |
if (!is_child_process) { |
- client_native_pixmap_factory_ = ui::ClientNativePixmapFactory::Create(); |
ui::ClientNativePixmapFactory::SetInstance( |
- client_native_pixmap_factory_.get()); |
+ TestClientNativePixmapFactory::GetInstance()); |
} |
#endif |
} |