Index: content/browser/compositor/gpu_process_transport_factory.cc |
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc |
index b8e115c13ae2b49b49fcbbb01a82fff60e050b1d..0123efe0ef0648de60f1daf5fe809fded7354f9c 100644 |
--- a/content/browser/compositor/gpu_process_transport_factory.cc |
+++ b/content/browser/compositor/gpu_process_transport_factory.cc |
@@ -47,6 +47,8 @@ |
#include "ui/gfx/ozone/surface_factory_ozone.h" |
#elif defined(USE_X11) |
#include "content/browser/compositor/software_output_device_x11.h" |
+#elif defined(OS_MACOSX) |
+#include "content/browser/compositor/software_output_device_mac.h" |
#endif |
using cc::ContextProvider; |
@@ -98,6 +100,9 @@ scoped_ptr<cc::SoftwareOutputDevice> CreateSoftwareOutputDevice( |
#elif defined(USE_X11) |
return scoped_ptr<cc::SoftwareOutputDevice>(new SoftwareOutputDeviceX11( |
compositor)); |
+#elif defined(OS_MACOSX) |
+ return scoped_ptr<cc::SoftwareOutputDevice>( |
+ new SoftwareOutputDeviceMac(compositor)); |
#else |
NOTREACHED(); |
return scoped_ptr<cc::SoftwareOutputDevice>(); |