Index: sky/engine/core/painting/Canvas.cpp |
diff --git a/sky/engine/core/painting/Canvas.cpp b/sky/engine/core/painting/Canvas.cpp |
index f169066c1cb9febda8dda9c5e32aa81c63e590fe..e14493d483ad8cdde660d91b67240b0ca64358a0 100644 |
--- a/sky/engine/core/painting/Canvas.cpp |
+++ b/sky/engine/core/painting/Canvas.cpp |
@@ -117,7 +117,7 @@ void Canvas::drawPicture(Picture* picture) |
return; |
ASSERT(picture); |
ASSERT(m_displayList->isRecording()); |
- m_canvas->drawPicture(picture->displayList()->picture()); |
+ m_canvas->drawPicture(picture->toSkia()); |
} |
void Canvas::drawPaint(const Paint* paint) |