Chromium Code Reviews| Index: printing/units.cc |
| diff --git a/printing/units.cc b/printing/units.cc |
| index 976fa802c97e0f1a69c261be4e238214f6b7d104..758955d9b927709e30cc284044e0101d9ef71cc7 100644 |
| --- a/printing/units.cc |
| +++ b/printing/units.cc |
| @@ -47,4 +47,8 @@ double ConvertPixelsToPointDouble(double pixels) { |
| return ConvertUnitDouble(pixels, kPixelsPerInch, kPointsPerInch); |
| } |
| +double ConvertPointsToPixelDouble(double points) { |
| + return ConvertUnitDouble(points, kPointsPerInch, kPixelsPerInch); |
| +} |
| + |
| } // namespace printing |