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

Unified Diff: Source/core/fetch/ImageResourceTest.cpp

Issue 985583002: Don't cache any SkBitmaps in DeferredImageDecoder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: done now Created 5 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 | « Source/core/fetch/ImageResource.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ImageResourceTest.cpp
diff --git a/Source/core/fetch/ImageResourceTest.cpp b/Source/core/fetch/ImageResourceTest.cpp
index 86b89e267ec35996cd9747b2d847baf56c5b8444..69234fa250c57f6f0fcf2f7203d76652a4f133eb 100644
--- a/Source/core/fetch/ImageResourceTest.cpp
+++ b/Source/core/fetch/ImageResourceTest.cpp
@@ -219,12 +219,6 @@ TEST(ImageResourceTest, UpdateBitmapImages)
HashSet<ImageResource*> bitmapImages;
ASSERT_TRUE(cachedImage->image()->isBitmapImage());
bitmapImages.add(cachedImage.get());
-
- // Updating bitmap resources produces image changed callbacks on their clients.
- ImageResource::updateBitmapImages(bitmapImages);
- ASSERT_EQ(client.imageChangedCount(), 2);
- ImageResource::updateBitmapImages(bitmapImages, true);
- ASSERT_EQ(client.imageChangedCount(), 3);
}
} // namespace
« no previous file with comments | « Source/core/fetch/ImageResource.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698