| Index: src/pdf/SkPDFShader.cpp | 
| diff --git a/src/pdf/SkPDFShader.cpp b/src/pdf/SkPDFShader.cpp | 
| index c627c142578ad630f68e5d5aadd11cea12bfaf1f..c2f0bc4677120e600f6982c1ed83749d6d7a35a1 100644 | 
| --- a/src/pdf/SkPDFShader.cpp | 
| +++ b/src/pdf/SkPDFShader.cpp | 
| @@ -58,7 +58,7 @@ | 
| // Figure out how to scale each color component. | 
| SkScalar multiplier[kColorComponents]; | 
| for (int i = 0; i < kColorComponents; i++) { | 
| -        multiplier[i] = (curColor[i] - prevColor[i]) / range; | 
| +        multiplier[i] = SkScalarDiv(curColor[i] - prevColor[i], range); | 
| } | 
|  | 
| // Calculate when we no longer need to keep a copy of the input parameter t. | 
| @@ -1132,7 +1132,7 @@ | 
| static const SkScalar kMaxBitmapArea = 1024 * 1024; | 
| SkScalar bitmapArea = rasterScale * bbox.width() * rasterScale * bbox.height(); | 
| if (bitmapArea > kMaxBitmapArea) { | 
| -                rasterScale *= SkScalarSqrt(kMaxBitmapArea / bitmapArea); | 
| +                rasterScale *= SkScalarSqrt(SkScalarDiv(kMaxBitmapArea, bitmapArea)); | 
| } | 
|  | 
| SkISize size = SkISize::Make(SkScalarRoundToInt(rasterScale * bbox.width()), | 
|  |