[chromium] KURL::copy doesn't produce something usable on another thread.
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Sep 2011 23:48:58 +0000 (23:48 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Sep 2011 23:48:58 +0000 (23:48 +0000)
commit2bbbdcec6aa83872280b92c29ed7e977f35f3f63
tree2ab60912ac61b2ca02f5c780f2338d472343d194
parente00bf588029da0d6065e47359745e13c397d5e6f
[chromium] KURL::copy doesn't produce something usable on another thread.
https://bugs.webkit.org/show_bug.cgi?id=67809

Reviewed by Adam Barth.

No new functionality exposed so no new test. This was caught by testing code: the thread
sanitizer run in Chromium (http://code.google.com/p/chromium/issues/detail?id=93708).

* platform/KURLGoogle.cpp:
(WebCore::KURLGooglePrivate::copyTo): Clear out the invalid String so that it will
not be used on another thread.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@94821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/KURLGoogle.cpp