Skip to content
  • yurys@chromium.org's avatar
    Web Inspector: make HashSet memory instrumentation non-intrusive · 93d59a3a
    yurys@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=97879
    
    Reviewed by Vsevolod Vlasov.
    
    Source/WebKit/chromium:
    
    Update the test for HashSet memory instrumentation. We don't add
    HashSet's private objects into the set of visited objects any more
    and should update the expectation accordingly.
    
    * tests/MemoryInstrumentationTest.cpp:
    (WebCore::TEST):
    
    Source/WTF:
    
    Removed reportMemoryUsage declarations as a friend of HashSet and HashTable. Also
    removed MemoryInstrumentationHashTable which is not needed if we don't have
    access to HashSet's guts.
    
    * GNUmakefile.list.am:
    * WTF.gypi:
    * WTF.pro:
    * WTF.vcproj/WTF.vcproj:
    * WTF.xcodeproj/project.pbxproj:
    * wtf/HashSet.h:
    (WTF):
    (HashSet):
    * wtf/HashTable.h:
    (HashTable):
    * wtf/MemoryInstrumentation.h:
    (WTF::MemoryClassInfo::addPrivateBuffer):
    * wtf/MemoryInstrumentationHashSet.h:
    (WTF::reportMemoryUsage):
    * wtf/MemoryInstrumentationHashTable.h: Removed.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    93d59a3a