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

Unified Diff: Source/core/platform/graphics/chromium/GraphicsLayerChromium.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
Index: Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp
diff --git a/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp b/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp
index a4d6715e110cd1c99d6fe2825df20bff14a93845..0149a271b0010c6cce1d32023764761e0b3e3903 100644
--- a/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp
+++ b/Source/core/platform/graphics/chromium/GraphicsLayerChromium.cpp
@@ -51,7 +51,6 @@
#include "Image.h"
#include "NativeImageSkia.h"
#include "PlatformContextSkia.h"
-#include "PlatformMemoryInstrumentation.h"
#include "ScrollableArea.h"
#include "SkImageFilter.h"
#include "SkMatrix44.h"
@@ -70,7 +69,6 @@
#include <public/WebSolidColorLayer.h>
#include <wtf/CurrentTime.h>
#include <wtf/HashSet.h>
-#include <wtf/MemoryInstrumentationHashMap.h>
#include <wtf/StringExtras.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringHash.h>
@@ -863,19 +861,4 @@ void GraphicsLayerChromium::didScroll()
m_scrollableArea->scrollToOffsetWithoutAnimation(IntPoint(m_layer->layer()->scrollPosition()));
}
-void GraphicsLayerChromium::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Layers);
- GraphicsLayer::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_nameBase, "nameBase");
- info.addMember(m_layer, "layer");
- info.addMember(m_transformLayer, "transformLayer");
- info.addMember(m_imageLayer, "imageLayer");
- info.addMember(m_contentsLayer, "contentsLayer");
- info.addMember(m_linkHighlight, "linkHighlight");
- info.addMember(m_opaqueRectTrackingContentLayerDelegate, "opaqueRectTrackingContentLayerDelegate");
- info.addMember(m_animationIdMap, "animationIdMap");
- info.addMember(m_scrollableArea, "scrollableArea");
-}
-
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698