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

Unified Diff: content/test/mock_webclipboard_impl.cc

Issue 221993002: Split content_shell dependencies for layout tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix iOS Created 6 years, 9 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
« content/content_tests.gypi ('K') | « content/content_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« content/content_tests.gypi ('K') | « content/content_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698