these methods and the data collected by them need to be used in the instrumentation code for other components. As example when we are visiting bitmaps we need to visit platform specific objects. These objects will be instrumented with help of component's own instrumentation code but we have to keep the single set of visited objects and the map of counters.
Created attachment 165399 [details] Patch
Created attachment 165405 [details] Patch
Created attachment 165951 [details] rebaselined
Created attachment 165952 [details] unnecessary inspectorData argument was removed
Comment on attachment 165952 [details] unnecessary inspectorData argument was removed Attachment 165952 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/14031820
Created attachment 165958 [details] mac build fix
Comment on attachment 165958 [details] mac build fix View in context: https://bugs.webkit.org/attachment.cgi?id=165958&action=review > Source/WTF/wtf/MemoryInstrumentation.h:114 > + MemoryInstrumentationClient* m_client; Please move the field declaration below the methods. > Source/WTF/wtf/MemoryInstrumentation.h:121 > virtual void checkCountedObject(const void*) = 0; This method should also delegate to the client. > Source/WebCore/inspector/InspectorMemoryAgent.cpp:106 > + MemoryInstrumentationClientImpl* m_client; style: fields should go after the methods below.
Created attachment 165988 [details] comments addressed
Comment on attachment 165988 [details] comments addressed View in context: https://bugs.webkit.org/attachment.cgi?id=165988&action=review > Source/WTF/wtf/MemoryInstrumentation.h:96 > + MemoryInstrumentation(MemoryInstrumentationClient* client) : m_client(client) { } should be marked explicit > Source/WebCore/inspector/MemoryInstrumentationImpl.cpp:67 > +void MemoryInstrumentationImpl::processDeferredInstrumentedPointers() Why did this move?
Committed r129762: <http://trac.webkit.org/changeset/129762>