Index: third_party/WebKit/Source/wtf/text/StringBuilder.cpp |
diff --git a/third_party/WebKit/Source/wtf/text/StringBuilder.cpp b/third_party/WebKit/Source/wtf/text/StringBuilder.cpp |
index f3a40bc3a4034c8a84f6452ff521bac0326ac028..c4c831a35853d6918c113193c2fdee27e5566416 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringBuilder.cpp |
+++ b/third_party/WebKit/Source/wtf/text/StringBuilder.cpp |
@@ -57,12 +57,6 @@ void StringBuilder::reifyString() |
return; |
} |
- if (m_buffer->hasOneRef()) { |
- m_buffer->truncateAssumingIsolated(m_length); |
- m_string = m_buffer.release(); |
- return; |
- } |
- |
m_string = m_buffer->substring(0, m_length); |
} |