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

Unified Diff: Source/core/fetch/ImageResource.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.h ('k') | Source/core/fetch/ImageResourceTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ImageResource.cpp
diff --git a/Source/core/fetch/ImageResource.cpp b/Source/core/fetch/ImageResource.cpp
index ceb0fda299dde70f5d5c03f703daef7e4f03f1e5..58d05a06429d25492c2109039d2d4155d3bc0b03 100644
--- a/Source/core/fetch/ImageResource.cpp
+++ b/Source/core/fetch/ImageResource.cpp
@@ -390,18 +390,6 @@ void ImageResource::updateImage(bool allDataReceived)
}
}
-void ImageResource::updateBitmapImages(HashSet<ImageResource*>& images, bool redecodeImages)
-{
- for (ImageResource* imageResource : images) {
- if (!imageResource->hasImage() || imageResource->image()->isNull())
- continue;
- BitmapImage* image = toBitmapImage(imageResource->image());
- if (redecodeImages)
- image->resetDecoder();
- imageResource->updateImage(image->isAllDataReceived());
- }
-}
-
void ImageResource::finishOnePart()
{
if (m_loadingMultipartContent)
« no previous file with comments | « Source/core/fetch/ImageResource.h ('k') | Source/core/fetch/ImageResourceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698