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

Unified Diff: printing/metafile.h

Issue 2458513003: Addressing C4267 warnings for printing. (Closed)
Patch Set: same as patch set 3, to see today's try bot output 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
Index: printing/metafile.h
diff --git a/printing/metafile.h b/printing/metafile.h
index 0d86a5aab0db8e72ad4a05393faef0cade3b9b47..2b1d8411aed498a91e0de54ed8c81486ccd7b7d1 100644
--- a/printing/metafile.h
+++ b/printing/metafile.h
@@ -114,7 +114,7 @@ class PRINTING_EXPORT Metafile : public MetafilePlayer {
// on success.
// Note: It should only be called from within the browser process.
virtual bool InitFromData(const void* src_buffer,
- uint32_t src_buffer_size) = 0;
+ size_t src_buffer_size) = 0;
// Prepares a context for rendering a new page with the given |page_size|,
// |content_area| and a |scale_factor| to use for the drawing. The units are

Powered by Google App Engine
This is Rietveld 408576698