| Index: src/gpu/SkGrPriv.h
 | 
| diff --git a/src/gpu/SkGrPriv.h b/src/gpu/SkGrPriv.h
 | 
| index f43a4e9595486e2892f25a2e3deedde488a713ea..46be3a53cfb0b322ab5832ac3867c338dc9fd46d 100644
 | 
| --- a/src/gpu/SkGrPriv.h
 | 
| +++ b/src/gpu/SkGrPriv.h
 | 
| @@ -48,11 +48,13 @@ void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pix
 | 
|  bool SkPaintToGrPaint(GrContext*,
 | 
|                        const SkPaint& skPaint,
 | 
|                        const SkMatrix& viewM,
 | 
| +                      bool allowSRGBInputs,
 | 
|                        GrPaint* grPaint);
 | 
|  
 | 
|  /** Same as above but ignores the SkShader (if any) on skPaint. */
 | 
|  bool SkPaintToGrPaintNoShader(GrContext* context,
 | 
|                                const SkPaint& skPaint,
 | 
| +                              bool allowSRGBInputs,
 | 
|                                GrPaint* grPaint);
 | 
|  
 | 
|  /** Replaces the SkShader (if any) on skPaint with the passed in GrFragmentProcessor. The processor
 | 
| @@ -61,6 +63,7 @@ bool SkPaintToGrPaintNoShader(GrContext* context,
 | 
|  bool SkPaintToGrPaintReplaceShader(GrContext*,
 | 
|                                     const SkPaint& skPaint,
 | 
|                                     const GrFragmentProcessor* shaderFP,
 | 
| +                                   bool allowSRGBInputs,
 | 
|                                     GrPaint* grPaint);
 | 
|  
 | 
|  /** Blends the SkPaint's shader (or color if no shader) with the color which specified via a
 | 
| @@ -72,6 +75,7 @@ bool SkPaintToGrPaintWithXfermode(GrContext* context,
 | 
|                                    const SkMatrix& viewM,
 | 
|                                    SkXfermode::Mode primColorMode,
 | 
|                                    bool primitiveIsSrc,
 | 
| +                                  bool allowSRGBInputs,
 | 
|                                    GrPaint* grPaint);
 | 
|  
 | 
|  /** This is used when there is a primitive color, but the shader should be ignored. Currently,
 | 
| @@ -79,9 +83,9 @@ bool SkPaintToGrPaintWithXfermode(GrContext* context,
 | 
|      unpremultiplied so that interpolation is done in unpremul space. The paint's alpha will be
 | 
|      applied to the primitive color after interpolation. */
 | 
|  inline bool SkPaintToGrPaintWithPrimitiveColor(GrContext* context, const SkPaint& skPaint,
 | 
| -                                               GrPaint* grPaint) {
 | 
| +                                               bool allowSRGBInputs, GrPaint* grPaint) {
 | 
|      return SkPaintToGrPaintWithXfermode(context, skPaint, SkMatrix::I(), SkXfermode::kDst_Mode,
 | 
| -                                        false, grPaint);
 | 
| +                                        false, allowSRGBInputs, grPaint);
 | 
|  }
 | 
|  
 | 
|  /** This is used when there may or may not be a shader, and the caller wants to plugin a texture
 | 
| @@ -91,6 +95,7 @@ bool SkPaintToGrPaintWithTexture(GrContext* context,
 | 
|                                   const SkMatrix& viewM,
 | 
|                                   const GrFragmentProcessor* fp,
 | 
|                                   bool textureIsAlphaOnly,
 | 
| +                                 bool allowSRGBInputs,
 | 
|                                   GrPaint* grPaint);
 | 
|  
 | 
|  //////////////////////////////////////////////////////////////////////////////
 | 
| 
 |