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

Unified Diff: trunk/src/ui/gfx/image/image_unittest_util.cc

Issue 347983004: Revert 278589 "Use ImageSkiaSource to create ImageSkia from Imag..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | « trunk/src/ui/gfx/image/image_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/gfx/image/image_unittest_util.cc
===================================================================
--- trunk/src/ui/gfx/image/image_unittest_util.cc (revision 278650)
+++ trunk/src/ui/gfx/image/image_unittest_util.cc (working copy)
@@ -80,8 +80,6 @@
}
bool IsEqual(const gfx::Image& img1, const gfx::Image& img2) {
- img1.AsImageSkia().EnsureRepsForSupportedScales();
- img2.AsImageSkia().EnsureRepsForSupportedScales();
std::vector<gfx::ImageSkiaRep> img1_reps = img1.AsImageSkia().image_reps();
gfx::ImageSkia image_skia2 = img2.AsImageSkia();
if (image_skia2.image_reps().size() != img1_reps.size())
« no previous file with comments | « trunk/src/ui/gfx/image/image_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698