Rolling out r17865 because it caused a performance regression.
[WebKit-https.git] / WebCore / loader / TextResourceDecoder.cpp
index 42862c4a26df71b5a27de574b5e0ed9e34dacfcf..9799f9993102bf39e68408b37e60b990117f8388 100644 (file)
@@ -296,7 +296,7 @@ void TextResourceDecoder::setEncoding(const TextEncoding& encoding, EncodingSour
 }
 
 // Returns the position of the encoding string.
-static int findXMLEncoding(const CString& str, int &encodingLength)
+static int findXMLEncoding(const DeprecatedCString &str, int &encodingLength)
 {
     int len = str.length();