[Qt] Speed up KURL to QUrl conversion
https://bugs.webkit.org/show_bug.cgi?id=33873 The WebCore::String::utf8 method will use the generic WebCore::TextCodec and then call the encode method on it. In QtWebKit this class is implemented around the QTextCodec class. Instead of going the generic codec way we treat the WebCore::String as a QString (no copying) and then use the built-in QString::toUtf8 to do the conversion. git-svn-id: svn://svn.chromium.org/blink/trunk@53995 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment