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

Unified Diff: Source/core/dom/Attr.cpp

Issue 723393005: Add UseCounters for access to and change of Attr's child Text nodes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nit Created 6 years, 1 month 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 | « no previous file | Source/core/dom/Attr.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Attr.cpp
diff --git a/Source/core/dom/Attr.cpp b/Source/core/dom/Attr.cpp
index 29e647d15692feec373ea965e375b735b9404af7..33453205688ace876928c3a94e41aeb55bb02716 100644
--- a/Source/core/dom/Attr.cpp
+++ b/Source/core/dom/Attr.cpp
@@ -168,6 +168,8 @@ void Attr::childrenChanged(const ChildrenChange&)
if (m_ignoreChildrenChanged > 0)
return;
+ UseCounter::count(document(), UseCounter::AttrChildChange);
+
QualifiedName name = qualifiedName();
invalidateNodeListCachesInAncestors(&name, m_element);
« no previous file with comments | « no previous file | Source/core/dom/Attr.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698