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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResource.cpp

Issue 1857543002: Don't recreate SkImages for high-res (GIF, WEBP...) animations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review #4 fix. Thanks @pkasting. Created 4 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
Index: third_party/WebKit/Source/core/fetch/ImageResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.cpp b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
index caaac704bf2695a5c38c3c53dec4c1098c0ea789..6f858b91c29631cca18ac59ffe3b7387286fe632 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
@@ -153,7 +153,7 @@ void ImageResource::destroyDecodedDataIfPossible()
m_image = nullptr;
setDecodedSize(0);
} else if (m_image && !errorOccurred()) {
- m_image->destroyDecodedData(true);
+ m_image->destroyDecodedData();
}
}

Powered by Google App Engine
This is Rietveld 408576698