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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2DTest.cpp

Issue 2077413005: Add "alpha" option to PaintWorklet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/modules/csspaint/PaintRenderingContext2DTest.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2DTest.cpp b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2DTest.cpp
index c13e19c534863f6ae8ae3cf67946aaf3c45c0d00..c9ecc5e418e2a2287b2b61aff19ca78225682b5d 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2DTest.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2DTest.cpp
@@ -22,7 +22,7 @@ protected:
void PaintRenderingContext2DTest::SetUp()
{
- m_ctx = PaintRenderingContext2D::create(ImageBuffer::create(IntSize(s_width, s_height)));
+ m_ctx = PaintRenderingContext2D::create(ImageBuffer::create(IntSize(s_width, s_height)), false /* hasAlphaChannel */);
}
void trySettingStrokeStyle(PaintRenderingContext2D* ctx, const String& expected, const String& value)

Powered by Google App Engine
This is Rietveld 408576698