Index: third_party/WebKit/Source/wtf/text/WTFString.cpp |
diff --git a/third_party/WebKit/Source/wtf/text/WTFString.cpp b/third_party/WebKit/Source/wtf/text/WTFString.cpp |
index 77838b29dbf436d53bb9518f68321acb9e6a0b4d..31557fcb0792abafbbc8f98c87ed95fa60ae350e 100644 |
--- a/third_party/WebKit/Source/wtf/text/WTFString.cpp |
+++ b/third_party/WebKit/Source/wtf/text/WTFString.cpp |
@@ -975,6 +975,11 @@ std::ostream& operator<<(std::ostream& out, const String& string) |
return out << '"'; |
} |
+CrossThreadCopier<String>::Type CrossThreadCopier<String>::copy(const String& str) |
+{ |
+ return str.isolatedCopy(); |
+} |
+ |
} // namespace WTF |
#ifndef NDEBUG |