Index: Source/wtf/text/StringImpl.h |
diff --git a/Source/wtf/text/StringImpl.h b/Source/wtf/text/StringImpl.h |
index afc6d95aab8b704fb55085ac36e94c941e2ea468..727c6d98cfc81cdb11a9a6d4ca39241c1e6d5f46 100644 |
--- a/Source/wtf/text/StringImpl.h |
+++ b/Source/wtf/text/StringImpl.h |
@@ -295,11 +295,6 @@ public: |
// FIXME: Does this really belong in StringImpl? |
template <typename T> static void copyChars(T* destination, const T* source, unsigned numCharacters) |
{ |
- if (numCharacters == 1) { |
- *destination = *source; |
- return; |
- } |
- |
memcpy(destination, source, numCharacters * sizeof(T)); |
} |