Changeset 86333 in webkit


Ignore:
Timestamp:
May 12, 2011 6:49:27 AM (13 years ago)
Author:
Nikolas Zimmermann
Message:

2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>

Not reviewed.

String operator+ reallocates unnecessary when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420

Attempt to fix the WinCE build. WinCE/WinCairo still won't link because of unresolved symbols, hmm. If we had EWS for those, I would have caught the problem earlier.

  • platform/wince/FileSystemWinCE.cpp: (WebCore::listDirectory):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86332 r86333  
     12011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
     2
     3        Not reviewed.
     4
     5        String operator+ reallocates unnecessary when concatting > 2 strings
     6        https://bugs.webkit.org/show_bug.cgi?id=58420
     7
     8        Attempt to fix the WinCE build. WinCE/WinCairo still won't link because of unresolved symbols, hmm. If we had EWS for those, I would have caught the problem earlier.
     9
     10        * platform/wince/FileSystemWinCE.cpp:
     11        (WebCore::listDirectory):
     12
    1132011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
    214
  • trunk/Source/WebCore/platform/wince/FileSystemWinCE.cpp

    r82214 r86333  
    3333
    3434#include "NotImplemented.h"
    35 #include "PlatformString.h"
    3635#include <wincrypt.h>
    3736#include <windows.h>
    3837#include <wtf/text/CString.h>
     38#include <wtf/text/WTFString.h>
    3939
    4040namespace WebCore {
     
    311311            // all plugins in a folder, where it's not supposed to list sub-folders.
    312312            if (!(findData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY))
    313                 entries.append(root + findData.cFileName);
     313                entries.append(root + String(findData.cFileName));
    314314        } while (FindNextFile(hFind, &findData));
    315315        FindClose(hFind);
Note: See TracChangeset for help on using the changeset viewer.