Index: Source/wtf/text/AtomicString.cpp |
diff --git a/Source/wtf/text/AtomicString.cpp b/Source/wtf/text/AtomicString.cpp |
index 22cfbc9da4d14e64624787f125183a39ca9eb68e..eac338de0726ff674c06a5e9b102c07f704ac1f7 100644 |
--- a/Source/wtf/text/AtomicString.cpp |
+++ b/Source/wtf/text/AtomicString.cpp |
@@ -358,7 +358,7 @@ struct CharBufferFromLiteralDataTranslator { |
static void translate(StringImpl*& location, const CharBuffer& buf, unsigned hash) |
{ |
- location = StringImpl::createFromLiteral(buf.s, buf.length).leakRef(); |
+ location = StringImpl::create(buf.s, buf.length).leakRef(); |
location->setHash(hash); |
location->setIsAtomic(true); |
} |