projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
platform
/
graphics
/
GraphicsContextRecorder.cpp
diff --git
a/src/third_party/WebKit/Source/platform/graphics/GraphicsContextRecorder.cpp
b/src/third_party/WebKit/Source/platform/graphics/GraphicsContextRecorder.cpp
index
8aa6d52
..
3b2b6d7
100644
(file)
--- a/
src/third_party/WebKit/Source/platform/graphics/GraphicsContextRecorder.cpp
+++ b/
src/third_party/WebKit/Source/platform/graphics/GraphicsContextRecorder.cpp
@@
-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);