Initially reportMemoryUsage functions in AtomicString, WTFString and StringBuffer were template functions. Otherwise I had to include MemoryInstrumentation.h from WebCore. Now the core NMI code is in WTF and I can include the header and move the bodies to cpp files.
Created attachment 164113 [details] Patch
Comment on attachment 164113 [details] Patch Attachment 164113 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/13855413
Comment on attachment 164113 [details] Patch Attachment 164113 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13841744
Created attachment 164124 [details] for trybots
Committed r128609: <http://trac.webkit.org/changeset/128609>