summaryrefslogtreecommitdiffstats
path: root/win8/metro_driver/print_document_source.cc
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-21 12:46:52 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-21 20:47:59 +0000
commit512186a7613d5d499bce19b45c8d0264e9c18448 (patch)
treef1f91e4d1743ca77257b13352a94b4aa88c3dda5 /win8/metro_driver/print_document_source.cc
parentb2615229259c4cffdeb37efa4f2422b6624e9c07 (diff)
downloadchromium_src-512186a7613d5d499bce19b45c8d0264e9c18448.zip
chromium_src-512186a7613d5d499bce19b45c8d0264e9c18448.tar.gz
chromium_src-512186a7613d5d499bce19b45c8d0264e9c18448.tar.bz2
Switch to standard integer types in win8/.
BUG=138542 TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/1540973003 Cr-Commit-Position: refs/heads/master@{#366452}
Diffstat (limited to 'win8/metro_driver/print_document_source.cc')
-rw-r--r--win8/metro_driver/print_document_source.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/win8/metro_driver/print_document_source.cc b/win8/metro_driver/print_document_source.cc
index 9d2a0c4..3d371da 100644
--- a/win8/metro_driver/print_document_source.cc
+++ b/win8/metro_driver/print_document_source.cc
@@ -5,6 +5,8 @@
#include "stdafx.h"
#include "win8/metro_driver/print_document_source.h"
+#include <stddef.h>
+#include <stdint.h>
#include <windows.graphics.display.h>
#include "base/logging.h"
@@ -211,7 +213,7 @@ STDMETHODIMP PrintDocumentSource::MakeDocument(
return hr;
}
-STDMETHODIMP PrintDocumentSource::Paginate(uint32 page,
+STDMETHODIMP PrintDocumentSource::Paginate(uint32_t page,
IInspectable* options) {
DVLOG(1) << __FUNCTION__ << ", page = " << page;
DCHECK(options != NULL);
@@ -261,7 +263,7 @@ STDMETHODIMP PrintDocumentSource::Paginate(uint32 page,
return hr;
}
-STDMETHODIMP PrintDocumentSource::MakePage(uint32 job_page,
+STDMETHODIMP PrintDocumentSource::MakePage(uint32_t job_page,
float width,
float height) {
DVLOG(1) << __FUNCTION__ << ", width: " << width << ", height: " << height