Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
| index 6784aee8ba9080987e9659001c1479f9a0b90632..736d34b3ece4852b8f90beb2d93f9230d98255aa 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp |
| @@ -29,6 +29,7 @@ RecordingImageBufferSurface::RecordingImageBufferSurface(const IntSize& size, st |
| , m_fallbackFactory(std::move(fallbackFactory)) |
| { |
| initializeCurrentFrame(); |
| + clear(); |
|
ikilpatrick
2016/06/22 16:00:24
Why is this needed?
Gleb Lanbin
2016/06/22 21:23:45
clear() method is the one which actually sets the
|
| } |
| RecordingImageBufferSurface::~RecordingImageBufferSurface() |