Turn DeprecatedStringData's copy constructor into a static method to appease MSVC /W3
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Jun 2007 17:50:37 +0000 (17:50 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Jun 2007 17:50:37 +0000 (17:50 +0000)
commitea91907422a3267e55f3676cafa9d81a3a7e8923
tree0f51025eec0d9ddeed16c457ec30a26982ca57de
parenta1441a8cece90608afc1b4395ab6bd72a57c602a
Turn DeprecatedStringData's copy constructor into a static method to appease MSVC /W3

DeprecatedStringData now has no public copy constructor. The single
call to the old one has been replaced with a call to the new
DeprecatedStringData::createAndAdopt static method.

Reviewed by Darin.

All regression tests pass.

* platform/DeprecatedString.cpp:
(WebCore::DeprecatedStringData::createAndAdopt):
(WebCore::DeprecatedStringData::adopt):
(WebCore::DeprecatedString::detachIfInternal):
* platform/DeprecatedString.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/DeprecatedString.cpp
WebCore/platform/DeprecatedString.h