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

Unified Diff: printing/emf_win.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/BUILD.gn ('k') | printing/emf_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/emf_win.h
diff --git a/printing/emf_win.h b/printing/emf_win.h
index 3ca085685b8c5cf8602af351ee50e852fcdc8741..c66e9f24b989745c59ec07296e6ee67bc0a86826 100644
--- a/printing/emf_win.h
+++ b/printing/emf_win.h
@@ -57,8 +57,7 @@ class PRINTING_EXPORT Emf : 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;
// Inserts a custom GDICOMMENT records indicating StartPage/EndPage calls
// (since StartPage and EndPage do not work in a metafile DC). Only valid
« no previous file with comments | « printing/BUILD.gn ('k') | printing/emf_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698