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

Unified Diff: tests/TessellatingPathRendererTests.cpp

Issue 2126083002: Remove fColor from PathRenderer DrawPathArgs struct (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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: tests/TessellatingPathRendererTests.cpp
diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp
index 16cf7b223c5f5ee29764d12938c458daeeb4950b..7be1e759208db6b2d00cab5aeb49d345d6437085 100644
--- a/tests/TessellatingPathRendererTests.cpp
+++ b/tests/TessellatingPathRendererTests.cpp
@@ -236,6 +236,7 @@ static void test_path(GrDrawContext* drawContext, GrResourceProvider* rp, const
GrTessellatingPathRenderer tess;
GrPaint paint;
+ paint.setColor4f(GrColor4f(1.0f, 1.0f, 1.0f, 1.0f));
paint.setXPFactory(GrPorterDuffXPFactory::Make(SkXfermode::kSrc_Mode));
GrNoClip noClip;
@@ -246,7 +247,6 @@ static void test_path(GrDrawContext* drawContext, GrResourceProvider* rp, const
args.fDrawContext = drawContext;
args.fClip = &noClip;
args.fResourceProvider = rp;
- args.fColor = GrColor_WHITE;
args.fViewMatrix = &SkMatrix::I();
GrShape shape(path, style);
args.fShape = &shape;
« src/gpu/GrClipMaskManager.cpp ('K') | « src/gpu/batches/GrTessellatingPathRenderer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698