Index: ui/gfx/canvas.h |
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h |
index c83b797db01e550de6c70f0fd4531f40f0caf8e1..5154965094cb6cc1cc0af3be183221d37493202c 100644 |
--- a/ui/gfx/canvas.h |
+++ b/ui/gfx/canvas.h |
@@ -214,8 +214,10 @@ class Canvas { |
// returned by BeginPlatformPaint(). |
virtual void EndPlatformPaint() = 0; |
+#if !defined(OS_MACOSX) |
// Apply transformation on the canvas. |
virtual void Transform(const ui::Transform& transform) = 0; |
+#endif |
// Create a texture ID that can be used for accelerated drawing. |
virtual ui::TextureID GetTextureID() = 0; |