Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / graphics / GraphicsContextRecorder.cpp
index 8aa6d52..3b2b6d7 100644 (file)
@@ -104,6 +104,7 @@ PassOwnPtr<Vector<char> > GraphicsContextSnapshot::replay(unsigned fromStep, uns
     int height = ceil(scale * m_picture->height());
     SkBitmap bitmap;
     bitmap.allocPixels(SkImageInfo::MakeN32Premul(width, height));
+    bitmap.eraseARGB(0, 0, 0, 0);
     {
         ReplayingCanvas canvas(bitmap, fromStep, toStep);
         canvas.scale(scale, scale);