Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.cpp

Issue 2077413005: Add "alpha" option to PaintWorklet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
Justin Novosad 2016/06/23 19:22:35 Previous uses of RecordingImageBufferSurface did n
Gleb Lanbin 2016/06/23 22:26:03 Done.
}
RecordingImageBufferSurface::~RecordingImageBufferSurface()

Powered by Google App Engine
This is Rietveld 408576698