Title: [152618] trunk/Source/WebCore
- Revision
- 152618
- Author
- [email protected]
- Date
- 2013-07-14 17:45:12 -0700 (Sun, 14 Jul 2013)
Log Message
Modernize QualifiedName by wrapping gNameCache in a function and using more early exits
https://bugs.webkit.org/show_bug.cgi?id=118299
Reviewed by Andreas Kling.
Address Ben's review comment.
* dom/QualifiedName.cpp:
(WebCore::QualifiedName::toString):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (152617 => 152618)
--- trunk/Source/WebCore/ChangeLog 2013-07-15 00:35:07 UTC (rev 152617)
+++ trunk/Source/WebCore/ChangeLog 2013-07-15 00:45:12 UTC (rev 152618)
@@ -1,5 +1,17 @@
2013-07-14 Ryosuke Niwa <[email protected]>
+ Modernize QualifiedName by wrapping gNameCache in a function and using more early exits
+ https://bugs.webkit.org/show_bug.cgi?id=118299
+
+ Reviewed by Andreas Kling.
+
+ Address Ben's review comment.
+
+ * dom/QualifiedName.cpp:
+ (WebCore::QualifiedName::toString):
+
+2013-07-14 Ryosuke Niwa <[email protected]>
+
HTMLTextFormControlElement::valueWithHardLineBreaks shouldn't upconvert 8-bit string
https://bugs.webkit.org/show_bug.cgi?id=118631
Modified: trunk/Source/WebCore/dom/QualifiedName.cpp (152617 => 152618)
--- trunk/Source/WebCore/dom/QualifiedName.cpp 2013-07-15 00:35:07 UTC (rev 152617)
+++ trunk/Source/WebCore/dom/QualifiedName.cpp 2013-07-15 00:45:12 UTC (rev 152618)
@@ -117,11 +117,7 @@
if (!hasPrefix())
return localName();
- StringBuilder result;
- result.append(prefix());
- result.append(':');
- result.append(localName());
- return result.toString();
+ return prefix() + ':' + localName();
}
// Global init routines
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes