Index: printing/image_win.cc |
diff --git a/printing/image_win.cc b/printing/image_win.cc |
index 866625c433bbf00c9564d02b25f9e985717a67da..1411e160d9bf2ba3ea43190520400220d07c450d 100644 |
--- a/printing/image_win.cc |
+++ b/printing/image_win.cc |
@@ -23,7 +23,7 @@ namespace { |
// destructor. |
class DisableFontSmoothing { |
public: |
- explicit DisableFontSmoothing() : enable_again_(false) { |
+ DisableFontSmoothing() : enable_again_(false) { |
BOOL enabled; |
if (SystemParametersInfo(SPI_GETFONTSMOOTHING, 0, &enabled, 0) && |
enabled) { |
@@ -77,7 +77,7 @@ bool Image::LoadMetafile(const Metafile& metafile) { |
bool success = metafile.Playback(hdc.Get(), NULL); |
- row_length_ = size_.width() * sizeof(uint32); |
+ row_length_ = size_.width() * sizeof(uint32_t); |
size_t bytes = row_length_ * size_.height(); |
DCHECK(bytes); |