-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=87596 Reviewed by Andreas Kling. Add move constructors and move assignment operators to String and AtomicString when building with compilers that support rvalue references. This gets rid of ref-churn when the source of the constructor or assignment is a temporary object. * wtf/text/AtomicString.h: (AtomicString): (WTF::AtomicString::AtomicString): (WTF::AtomicString::operator=): * wtf/text/WTFString.h: (String): (WTF::String::String): (WTF::String::operator=): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
372f7d24