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

Unified Diff: Source/core/html/HTMLMediaElement.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/html/HTMLMediaElement.h ('k') | Source/core/html/HTMLTextFormControlElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index 9fd48d80ee74d34fde13dedf9f7a6c621897640c..fb8eea148d6d04602b1af7425691e040af54b91f 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -81,11 +81,9 @@
#include "Settings.h"
#include "ShadowRoot.h"
#include "TimeRanges.h"
-#include "WebCoreMemoryInstrumentation.h"
#include <limits>
#include <wtf/CurrentTime.h>
#include <wtf/MathExtras.h>
-#include <wtf/MemoryInstrumentationVector.h>
#include <wtf/NonCopyingSort.h>
#include <wtf/Uint8Array.h>
#include <wtf/text/CString.h>
@@ -4428,34 +4426,5 @@ void HTMLMediaElement::removeBehaviorsRestrictionsAfterFirstUserGesture()
m_restrictions = NoRestrictions;
}
-void HTMLMediaElement::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM);
- HTMLElement::reportMemoryUsage(memoryObjectInfo);
- ActiveDOMObject::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_loadTimer, "loadTimer");
- info.addMember(m_progressEventTimer, "progressEventTimer");
- info.addMember(m_playbackProgressTimer, "playbackProgressTimer");
- info.addMember(m_playedTimeRanges, "playedTimeRanges");
- info.addMember(m_asyncEventQueue, "asyncEventQueue");
- info.addMember(m_currentSrc, "currentSrc");
- info.addMember(m_error, "error");
- info.addMember(m_currentSourceNode, "currentSourceNode");
- info.addMember(m_nextChildNodeToConsider, "nextChildNodeToConsider");
- info.addMember(m_player, "player");
- info.addMember(m_mediaSource, "mediaSource");
- info.addMember(m_textTracks, "textTracks");
- info.addMember(m_textTracksWhenResourceSelectionBegan, "textTracksWhenResourceSelectionBegan");
- info.addMember(m_cueTree, "cueTree");
- info.addMember(m_currentlyActiveCues, "currentlyActiveCues");
- info.addMember(m_mediaGroup, "mediaGroup");
- info.addMember(m_mediaController, "mediaController");
-
-#if ENABLE(WEB_AUDIO)
- info.addMember(m_audioSourceNode, "audioSourceNode");
-#endif
-
-}
-
}
#endif
« no previous file with comments | « Source/core/html/HTMLMediaElement.h ('k') | Source/core/html/HTMLTextFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698