Index: src/core/SkDeviceProperties.h |
diff --git a/src/core/SkDeviceProperties.h b/src/core/SkDeviceProperties.h |
index 53c0fa3ae29e5b970731c0e5d687f50c5dbedfe4..7dc4605c37802b670720ece5c68c8d5debc420b3 100644 |
--- a/src/core/SkDeviceProperties.h |
+++ b/src/core/SkDeviceProperties.h |
@@ -12,24 +12,20 @@ |
struct SkDeviceProperties { |
SkDeviceProperties(const SkDeviceProperties& src) |
- : fGamma(src.fGamma) |
- , fUseDFT(src.fUseDFT) |
+ : fUseDFT(src.fUseDFT) |
, fPixelGeometry(src.fPixelGeometry) { |
} |
- SkDeviceProperties(float gamma = SK_GAMMA_EXPONENT) |
- : fGamma(gamma) |
- , fUseDFT(false) |
+ SkDeviceProperties() |
+ : fUseDFT(false) |
, fPixelGeometry(SkSurfacePropsDefaultPixelGeometry()) |
{} |
- SkDeviceProperties(SkPixelGeometry geo, bool useDFT = false, float gamma = SK_GAMMA_EXPONENT) |
- : fGamma(gamma) |
- , fUseDFT(useDFT) |
+ SkDeviceProperties(SkPixelGeometry geo, bool useDFT = false) |
+ : fUseDFT(useDFT) |
, fPixelGeometry(geo) |
{} |
- float gamma() const { return fGamma; } |
bool useDFT() const { return fUseDFT; } |
SkPixelGeometry pixelGeometry() const { return fPixelGeometry; } |
@@ -38,7 +34,6 @@ struct SkDeviceProperties { |
} |
private: |
- const float fGamma; |
const bool fUseDFT; |
SkPixelGeometry fPixelGeometry; |
}; |