Changeset 89717 in webkit


Ignore:
Timestamp:
Jun 24, 2011, 5:13:22 PM (14 years ago)
Author:
Darin Adler
Message:

Try to fix Windows build failure.

  • platform/win/ClipboardUtilitiesWin.cpp:

(WebCore::setFileDescriptorData): Copy string into a local so we
can call charactersWithNullTermination on it.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r89715 r89717  
     12011-06-24  Darin Adler  <darin@apple.com>
     2
     3        Try to fix Windows build failure.
     4
     5        * platform/win/ClipboardUtilitiesWin.cpp:
     6        (WebCore::setFileDescriptorData): Copy string into a local so we
     7        can call charactersWithNullTermination on it.
     8
    192011-06-23  Darin Adler  <darin@apple.com>
    210
  • trunk/Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp

    r89707 r89717  
    409409}
    410410
    411 void setFileDescriptorData(IDataObject* dataObject, int size, const String& pathname)
    412 {
     411void setFileDescriptorData(IDataObject* dataObject, int size, const String& passedPathname)
     412{
     413    String pathname = passedPathname;
     414
    413415    STGMEDIUM medium = { 0 };
    414416    medium.tymed = TYMED_HGLOBAL;
Note: See TracChangeset for help on using the changeset viewer.