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

Unified Diff: Source/core/css/CSSImageValue.cpp

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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/css/CSSImageValue.h ('k') | Source/core/css/CSSImportRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSImageValue.cpp
diff --git a/Source/core/css/CSSImageValue.cpp b/Source/core/css/CSSImageValue.cpp
index a21383f81f67e368f96fd2bfb37c0e127a7cde3b..a24011ace0a5ff312598a324b1c370e6da6f328b 100644
--- a/Source/core/css/CSSImageValue.cpp
+++ b/Source/core/css/CSSImageValue.cpp
@@ -33,7 +33,6 @@
#include "MemoryCache.h"
#include "StyleCachedImage.h"
#include "StylePendingImage.h"
-#include "WebCoreMemoryInstrumentation.h"
namespace WebCore {
@@ -111,13 +110,6 @@ PassRefPtr<CSSValue> CSSImageValue::cloneForCSSOM() const
return uriValue.release();
}
-void CSSImageValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- info.addMember(m_url, "url");
- // No need to report m_image as it is counted as part of RenderArena.
-}
-
bool CSSImageValue::knownToBeOpaque(const RenderObject* renderer) const
{
return m_image ? m_image->knownToBeOpaque(renderer) : false;
« no previous file with comments | « Source/core/css/CSSImageValue.h ('k') | Source/core/css/CSSImportRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698