Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: core/cross/renderer.cc

Issue 6538102: Add support for runtime fall-back from o3d to o2d. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698