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

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

Issue 2417673003: Revert changes made to ImageResource memory accounting at crrev.com/2337733002 (Closed)
Patch Set: Created 4 years, 2 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 ab9668033457412d10e819243d1f095f2f7e4f19..43694cda7f110f4b8843c884dbbbc96b48a2785f 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
@@ -424,14 +424,6 @@ void ImageResource::finish(double loadFinishTime) {
Resource::finish(loadFinishTime);
}
-void ImageResource::onMemoryDump(WebMemoryDumpLevelOfDetail levelOfDetail,
- WebProcessMemoryDump* memoryDump) const {
- Resource::onMemoryDump(levelOfDetail, memoryDump);
- const String name = getMemoryDumpName() + "/encoded_data";
- if (m_image && !m_image->isNull())
- m_image->data()->onMemoryDump(name, memoryDump);
-}
-
void ImageResource::error(const ResourceError& error) {
if (m_multipartParser)
m_multipartParser->cancel();
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ImageResource.h ('k') | third_party/WebKit/Source/platform/SharedBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698