Chromium Code Reviews| Index: core/cross/renderer.cc |
| =================================================================== |
| --- core/cross/renderer.cc (revision 75475) |
| +++ core/cross/renderer.cc (working copy) |
| @@ -827,4 +827,14 @@ |
| return true; |
| } |
| +// This is a factory function for creating 2D Renderer objects. It only |
| +// functions in Cairo, in which case it is defined in the cairo platform |
| +// specific code. This definition can be removed when all platforms |
|
Tristan Schmelcher 2
2011/02/23 02:08:51
I don't think you even need this now. It is not an
|
| +// build with Cairo. |
| +#if !defined(SUPPORT_CAIRO) |
| +Renderer* Renderer::Create2DRenderer(ServiceLocator* service_locator) { |
| + return NULL; |
| +} |
| +#endif |
| + |
| } // namespace o3d |