Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Unified Diff: win8/metro_driver/print_document_source.cc

Issue 1540973003: Switch to standard integer types in win8/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « win8/metro_driver/print_document_source.h ('k') | win8/metro_driver/print_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/print_document_source.cc
diff --git a/win8/metro_driver/print_document_source.cc b/win8/metro_driver/print_document_source.cc
index 9d2a0c446f4706187136ed4a410ad1dd41c5050f..3d371da3aa9000be2e909940da374cdc1ac8311c 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
« no previous file with comments | « win8/metro_driver/print_document_source.h ('k') | win8/metro_driver/print_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698