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

Unified Diff: printing/metafile.cc

Issue 1343593002: Cleanup code in printing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/metafile.cc
diff --git a/printing/metafile.cc b/printing/metafile.cc
index ece61dfa857ed87295961f9109ef168bcf2f4f3f..33c84f4938acfdbcd210ae715c85d9b0f2c80039 100644
--- a/printing/metafile.cc
+++ b/printing/metafile.cc
@@ -27,7 +27,8 @@ bool Metafile::GetDataAsVector(std::vector<char>* buffer) const {
buffer->resize(GetDataSize());
if (buffer->empty())
return false;
- return GetData(&buffer->front(), base::checked_cast<uint32>(buffer->size()));
+ return GetData(&buffer->front(),
+ base::checked_cast<uint32_t>(buffer->size()));
}
bool Metafile::SaveTo(base::File* file) const {
« no previous file with comments | « printing/metafile.h ('k') | printing/pdf_metafile_cg_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698