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

Unified Diff: printing/image_mac.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/image.cc ('k') | printing/image_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/image_mac.cc
diff --git a/printing/image_mac.cc b/printing/image_mac.cc
index 55f61f8204cf71a1ccf22e18b7fdcb80fc9d1d93..864a15017f14eeb6e3d8caf6787dc9a016ba4656 100644
--- a/printing/image_mac.cc
+++ b/printing/image_mac.cc
@@ -20,7 +20,7 @@ bool Image::LoadMetafile(const Metafile& metafile) {
return false;
size_ = rect.size();
- row_length_ = size_.width() * sizeof(uint32);
+ row_length_ = size_.width() * sizeof(uint32_t);
size_t bytes = row_length_ * size_.height();
DCHECK(bytes);
« no previous file with comments | « printing/image.cc ('k') | printing/image_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698