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

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

Issue 247433002: Use GradFlags for gradient Flags in SkGradientShader (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 | « src/effects/gradients/SkGradientShader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/gradients/SkGradientShaderPriv.h
diff --git a/src/effects/gradients/SkGradientShaderPriv.h b/src/effects/gradients/SkGradientShaderPriv.h
index 47e46acf848a87dfb50516b2b1c51faebb0dd997..02bb50bf5b37cfb77023d04cb07faba0bff6bf02 100644
--- a/src/effects/gradients/SkGradientShaderPriv.h
+++ b/src/effects/gradients/SkGradientShaderPriv.h
@@ -94,7 +94,7 @@ public:
int fCount;
SkShader::TileMode fTileMode;
SkUnitMapper* fMapper;
- uint32_t fFlags;
+ uint32_t fGradFlags;
};
public:
@@ -139,7 +139,7 @@ public:
// also be filled with the gradient colors
GpuColorType getGpuColorType(SkColor colors[3]) const;
- uint32_t getFlags() const { return fGradFlags; }
+ uint32_t getGradFlags() const { return fGradFlags; }
protected:
SkGradientShaderBase(SkReadBuffer& );
« no previous file with comments | « src/effects/gradients/SkGradientShader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698