Change PDF scaling factor from double to float.
commit46a6291e7b4e7c7367daf4e5fb1a33537f776813
authorpkasting <pkasting@chromium.org>
Thu, 9 Oct 2014 21:30:00 +0000 (9 14:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Oct 2014 21:30:15 +0000 (9 21:30 +0000)
tree308d85c00a1076c0c12fcf8d306630ef39e47929
parent7cc29ce343a235f9067545ddd19ba2d982c4595f
Change PDF scaling factor from double to float.

This ultimate consumers of this want a float anyway, so changing to be a float
all the way through is less misleading.  This also avoids some "value possibly
truncated" warnings (currently disabled) on MSVC.

This also removes a couple of scale-related functions in metafile_skia_wrapper.*
that seem to be entirely unused.

BUG=none
TEST=none

Review URL: https://codereview.chromium.org/641923002

Cr-Commit-Position: refs/heads/master@{#298980}
18 files changed:
chrome/browser/printing/pdf_to_emf_converter.cc
chrome/browser/printing/pdf_to_emf_converter.h
chrome/browser/printing/print_job.cc
chrome/browser/printing/print_job.h
chrome/common/chrome_utility_printing_messages.h
chrome/service/cloud_print/print_system_win.cc
chrome/service/service_utility_process_host.cc
chrome/service/service_utility_process_host.h
chrome/utility/printing_handler.cc
chrome/utility/printing_handler.h
printing/metafile_skia_wrapper.cc
printing/metafile_skia_wrapper.h
printing/printed_document.cc
printing/printed_document.h
printing/printed_document_win.cc
printing/printed_page.h
ui/gfx/gdi_util.cc
ui/gfx/gdi_util.h