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

Unified Diff: src/effects/gradients/Sk4fGradientBase.h

Issue 1890253002: Observe gTreatSkColorAsSRGB for 4f gradients. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | src/effects/gradients/Sk4fGradientBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/gradients/Sk4fGradientBase.h
diff --git a/src/effects/gradients/Sk4fGradientBase.h b/src/effects/gradients/Sk4fGradientBase.h
index ddd0b2bc466dc2bce365a54f335f2ec1fb22dea8..17f9563957aa78c453f19fbe178fa45b536df4ae 100644
--- a/src/effects/gradients/Sk4fGradientBase.h
+++ b/src/effects/gradients/Sk4fGradientBase.h
@@ -30,9 +30,8 @@ public:
protected:
struct Interval {
- Interval(SkPMColor c0, SkScalar p0,
- SkPMColor c1, SkScalar p1,
- const Sk4f& componentScale);
+ Interval(const Sk4f& c0, SkScalar p0,
+ const Sk4f& c1, SkScalar p1);
bool isZeroRamp() const { return fZeroRamp; }
« no previous file with comments | « no previous file | src/effects/gradients/Sk4fGradientBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698