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

Unified Diff: content/test/mock_webclipboard_impl.cc

Issue 226123003: Revert of Split content_shell dependencies for layout tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/shell/browser/shell_browser_main.cc ('k') | content/test/weburl_loader_mock_factory.cc » ('j') | 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 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);
« no previous file with comments | « content/shell/browser/shell_browser_main.cc ('k') | content/test/weburl_loader_mock_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698