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