Title: [141935] trunk/Source/WebCore
Revision
141935
Author
[email protected]
Date
2013-02-05 14:33:42 -0800 (Tue, 05 Feb 2013)

Log Message

Avoid String->AtomicString conversion in Attr::childrenChanged()
https://bugs.webkit.org/show_bug.cgi?id=108742

Patch by Benjamin Poulain <[email protected]> on 2013-02-05
Reviewed by Andreas Kling.

* dom/Attr.cpp:
(WebCore::Attr::childrenChanged): StringBuilder can output AtomicString directly.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (141934 => 141935)


--- trunk/Source/WebCore/ChangeLog	2013-02-05 22:32:46 UTC (rev 141934)
+++ trunk/Source/WebCore/ChangeLog	2013-02-05 22:33:42 UTC (rev 141935)
@@ -1,3 +1,13 @@
+2013-02-05  Benjamin Poulain  <[email protected]>
+
+        Avoid String->AtomicString conversion in Attr::childrenChanged()
+        https://bugs.webkit.org/show_bug.cgi?id=108742
+
+        Reviewed by Andreas Kling.
+
+        * dom/Attr.cpp:
+        (WebCore::Attr::childrenChanged): StringBuilder can output AtomicString directly.
+
 2013-02-05  Yusuf Ozuysal  <[email protected]>
 
         [chromium] Enable shouldGesturesTriggerActive for Android

Modified: trunk/Source/WebCore/dom/Attr.cpp (141934 => 141935)


--- trunk/Source/WebCore/dom/Attr.cpp	2013-02-05 22:32:46 UTC (rev 141934)
+++ trunk/Source/WebCore/dom/Attr.cpp	2013-02-05 22:33:42 UTC (rev 141935)
@@ -172,7 +172,7 @@
             valueBuilder.append(toText(n)->data());
     }
 
-    AtomicString newValue = valueBuilder.toString();
+    AtomicString newValue = valueBuilder.toAtomicString();
     if (m_element)
         m_element->willModifyAttribute(qualifiedName(), value(), newValue);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to