Index: src/gpu/text/GrDistanceFieldAdjustTable.h |
diff --git a/src/gpu/text/GrDistanceFieldAdjustTable.h b/src/gpu/text/GrDistanceFieldAdjustTable.h |
index f9b5161e95a7b3739d8aa7ae9161b592631820ea..0f5c6f29abb19ba8825d13238b791f7ccfbf0bac 100644 |
--- a/src/gpu/text/GrDistanceFieldAdjustTable.h |
+++ b/src/gpu/text/GrDistanceFieldAdjustTable.h |
@@ -18,18 +18,18 @@ struct GrDistanceFieldAdjustTable : public SkNVRefCnt<GrDistanceFieldAdjustTable |
GrDistanceFieldAdjustTable() { this->buildDistanceAdjustTables(); } |
~GrDistanceFieldAdjustTable() { |
delete[] fTable; |
- delete[] fSRGBTable; |
+ delete[] fGammaCorrectTable; |
} |
- const SkScalar& getAdjustment(int i, bool useSRGBTable) const { |
- return useSRGBTable ? fSRGBTable[i] : fTable[i]; |
+ const SkScalar& getAdjustment(int i, bool useGammaCorrectTable) const { |
+ return useGammaCorrectTable ? fGammaCorrectTable[i] : fTable[i]; |
} |
private: |
void buildDistanceAdjustTables(); |
SkScalar* fTable; |
- SkScalar* fSRGBTable; |
+ SkScalar* fGammaCorrectTable; |
}; |
#endif |