Index: content/test/mock_webclipboard_impl.cc |
diff --git a/content/test/mock_webclipboard_impl.cc b/content/test/mock_webclipboard_impl.cc |
index dfd22bab89eb4e1e052b17bb5c18e0abaad60f0e..dcd276dd33de9dec2dde98717b53b6d9674a3dba 100644 |
--- a/content/test/mock_webclipboard_impl.cc |
+++ b/content/test/mock_webclipboard_impl.cc |
@@ -102,7 +102,7 @@ blink::WebData MockWebClipboardImpl::readImage( |
gfx::PNGCodec::FORMAT_BGRA, |
#endif |
gfx::Size(bitmap.width(), bitmap.height()), |
- bitmap.rowBytes(), |
+ static_cast<int>(bitmap.rowBytes()), |
false /* discard_transparency */, |
std::vector<gfx::PNGCodec::Comment>(), |
&encoded_image); |