Ignore:
Timestamp:
Sep 8, 2010, 1:57:33 PM (15 years ago)
Author:
[email protected]
Message:

2010-09-08 Robert Hogan <[email protected]>

Reviewed by Antonio Gomes.

Remove some unnecessary duplicate calls to string functions

https://bugs.webkit.org/show_bug.cgi?id=45314

  • wtf/text/WTFString.cpp: (WTF::String::format):

2010-09-08 Robert Hogan <[email protected]>

Reviewed by Antonio Gomes.

Remove some unnecessary duplicate calls to string functions

https://bugs.webkit.org/show_bug.cgi?id=45314

  • platform/network/curl/ResourceHandleManager.cpp: (WebCore::parseDataUrl):
  • websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::send):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/text/WTFString.cpp

    r66844 r67012  
    336336    va_end(args);
    337337
    338     return StringImpl::create(buffer.toUtf8().constData(), buffer.toUtf8().length());
     338    QByteArray ba = buffer.toUtf8();
     339    return StringImpl::create(ba.constData(), ba.length());
    339340
    340341#elif OS(WINCE)
Note: See TracChangeset for help on using the changeset viewer.