Title: [142942] trunk/Source/WebCore
Revision
142942
Author
hay...@chromium.org
Date
2013-02-14 17:01:34 -0800 (Thu, 14 Feb 2013)

Log Message

Recover edge names used in MemoryInstrumentation for DocumentRuleSets.
https://bugs.webkit.org/show_bug.cgi?id=109800

Reviewed by Hajime Morita.

This is a following patch for r142573.
r142563 accidentally removes edge names for MemoryInstrumentation. We should recover edge names.

No tests. No change in behavior.

* css/DocumentRuleSets.cpp:
(WebCore::DocumentRuleSets::reportMemoryUsage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (142941 => 142942)


--- trunk/Source/WebCore/ChangeLog	2013-02-15 00:56:23 UTC (rev 142941)
+++ trunk/Source/WebCore/ChangeLog	2013-02-15 01:01:34 UTC (rev 142942)
@@ -1,3 +1,18 @@
+2013-02-14  Hayato Ito  <hay...@chromium.org>
+
+        Recover edge names used in MemoryInstrumentation for DocumentRuleSets.
+        https://bugs.webkit.org/show_bug.cgi?id=109800
+
+        Reviewed by Hajime Morita.
+
+        This is a following patch for r142573.
+        r142563 accidentally removes edge names for MemoryInstrumentation. We should recover edge names.
+
+        No tests. No change in behavior.
+
+        * css/DocumentRuleSets.cpp:
+        (WebCore::DocumentRuleSets::reportMemoryUsage):
+
 2013-02-14  Hajime Morrita  <morr...@google.com>
 
         [V8] Assertion failure on an exception is thrown

Modified: trunk/Source/WebCore/css/DocumentRuleSets.cpp (142941 => 142942)


--- trunk/Source/WebCore/css/DocumentRuleSets.cpp	2013-02-15 00:56:23 UTC (rev 142941)
+++ trunk/Source/WebCore/css/DocumentRuleSets.cpp	2013-02-15 01:01:34 UTC (rev 142942)
@@ -157,11 +157,11 @@
 void DocumentRuleSets::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
 {
     MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
-    info.addMember(m_authorStyle);
-    info.addMember(m_userStyle);
-    info.addMember(m_features);
-    info.addMember(m_siblingRuleSet);
-    info.addMember(m_uncommonAttributeRuleSet);
+    info.addMember(m_authorStyle, "authorStyle");
+    info.addMember(m_userStyle, "userStyle");
+    info.addMember(m_features, "features");
+    info.addMember(m_siblingRuleSet, "siblingRuleSet");
+    info.addMember(m_uncommonAttributeRuleSet, "uncommonAttributeRuleSet");
 }
 
 } // namespace WebCore
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to