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

Unified Diff: Source/core/platform/graphics/GraphicsLayer.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/platform/graphics/GraphicsLayer.h ('k') | Source/core/platform/graphics/Image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/GraphicsLayer.cpp
diff --git a/Source/core/platform/graphics/GraphicsLayer.cpp b/Source/core/platform/graphics/GraphicsLayer.cpp
index 265af388446d4fd130db072a82f02304d617c5f3..4338ca53bc9a364d95fd1562264be94475fdfbd3 100644
--- a/Source/core/platform/graphics/GraphicsLayer.cpp
+++ b/Source/core/platform/graphics/GraphicsLayer.cpp
@@ -31,11 +31,9 @@
#include "FloatRect.h"
#include "GraphicsContext.h"
#include "LayoutRect.h"
-#include "PlatformMemoryInstrumentation.h"
#include "RotateTransformOperation.h"
#include "TextStream.h"
#include <wtf/HashMap.h>
-#include <wtf/MemoryInstrumentationVector.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringBuilder.h>
#include <wtf/text/WTFString.h>
@@ -737,18 +735,6 @@ String GraphicsLayer::layerTreeAsText(LayerTreeAsTextBehavior behavior) const
return ts.release();
}
-void GraphicsLayer::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Layers);
- info.addMember(m_children, "children");
- info.addMember(m_parent, "parent");
- info.addMember(m_maskLayer, "maskLayer");
- info.addMember(m_replicaLayer, "replicaLayer");
- info.addMember(m_replicatedLayer, "replicatedLayer");
- info.ignoreMember(m_client);
- info.addMember(m_name, "name");
-}
-
} // namespace WebCore
#ifndef NDEBUG
« no previous file with comments | « Source/core/platform/graphics/GraphicsLayer.h ('k') | Source/core/platform/graphics/Image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698