[MutationObservers] Add histogram collection for usage of DOM Mutation Events
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2011 01:23:35 +0000 (01:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2011 01:23:35 +0000 (01:23 +0000)
commit1e0fc9d8b910c9706400c81c5092385208a6ea47
treeaf36b2b505268d7b885d4d1c356616cfec94599d
parent77ebd4b42e8235c81f7d4f92c0523d8413e53c20
[MutationObservers] Add histogram collection for usage of DOM Mutation Events
https://bugs.webkit.org/show_bug.cgi?id=72316

Patch by Rafael Weinstein <rafaelw@chromium.org> on 2011-11-14
Reviewed by Ryosuke Niwa.

This patch adds six calls in ~Document() which simply pipe-out to the embedder
the (already-collected) bits of whether varous DOM Mutation Events were registered
on the document.

No tests needed. No functional changes.

* dom/Document.cpp:
(WebCore::histogramMutationEventUsage):
(WebCore::Document::~Document):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/Document.cpp