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

Unified Diff: printing/pdf_metafile_cg_mac.h

Issue 2458513003: Addressing C4267 warnings for printing. (Closed)
Patch Set: Rebase, IsValueInRangeForNumericType for CFIndex Created 4 years, 2 months 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 | « printing/metafile.h ('k') | printing/pdf_metafile_cg_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_metafile_cg_mac.h
diff --git a/printing/pdf_metafile_cg_mac.h b/printing/pdf_metafile_cg_mac.h
index 15d1d2f20adf09be46df6e20368a5e7d27143f70..f68ac4fa3a065839df71960b96dd16c9008289f1 100644
--- a/printing/pdf_metafile_cg_mac.h
+++ b/printing/pdf_metafile_cg_mac.h
@@ -28,7 +28,7 @@ class PRINTING_EXPORT PdfMetafileCg : public Metafile {
// Metafile methods.
bool Init() override;
- bool InitFromData(const void* src_buffer, uint32_t src_buffer_size) override;
+ bool InitFromData(const void* src_buffer, size_t src_buffer_size) override;
void StartPage(const gfx::Size& page_size,
const gfx::Rect& content_area,
const float& scale_factor) override;
« no previous file with comments | « printing/metafile.h ('k') | printing/pdf_metafile_cg_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698