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

Unified Diff: include/gpu/effects/GrConstColorProcessor.h

Issue 1316513002: Change SkShader;asFragmentProcessor signature to no longer take skpaint\grcolor* (Closed) Base URL: https://skia.googlesource.com/skia.git@things
Patch Set: nullptr Created 5 years, 4 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: include/gpu/effects/GrConstColorProcessor.h
diff --git a/include/gpu/effects/GrConstColorProcessor.h b/include/gpu/effects/GrConstColorProcessor.h
index ccd28684a5675c5d33e7bb5ef087f968d86807fe..f5fdb7e35cfbc8dc3a292736a00ba032e9c9d2b7 100644
--- a/include/gpu/effects/GrConstColorProcessor.h
+++ b/include/gpu/effects/GrConstColorProcessor.h
@@ -10,8 +10,6 @@
#include "GrFragmentProcessor.h"
-class GrInvariantOutput;
-
/**
* This is a simple GrFragmentProcessor that outputs a constant color. It may do one of the
* following with its input color: ignore it, or multiply it by the constant color, multiply its
@@ -32,8 +30,6 @@ public:
return new GrConstColorProcessor(color, mode);
}
- ~GrConstColorProcessor() override {}
-
const char* name() const override { return "Color"; }
GrColor color() const { return fColor; }

Powered by Google App Engine
This is Rietveld 408576698