Changeset 32698 in webkit


Ignore:
Timestamp:
Apr 29, 2008 2:02:37 PM (16 years ago)
Author:
Adam Roben
Message:

Fix a Windows build error

  • WebScriptCallFrame.cpp: (WebScriptCallFrame::variableNames): Don't use ::adopt now that PropertyNameArray has no swap function.
Location:
trunk/WebKit/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/win/ChangeLog

    r32658 r32698  
     12008-04-29  Adam Roben  <aroben@apple.com>
     2
     3        Fix a Windows build error
     4
     5        * WebScriptCallFrame.cpp:
     6        (WebScriptCallFrame::variableNames): Don't use ::adopt now that
     7        PropertyNameArray has no swap function.
     8
    192008-04-28  Adam Roben  <aroben@apple.com>
    210
  • trunk/WebKit/win/WebScriptCallFrame.cpp

    r30948 r32698  
    204204
    205205    m_state->scopeChain().top()->getPropertyNames(m_state, propertyNames);
    206     *variableNames = COMEnumVariant<PropertyNameArray>::adopt(propertyNames);
     206    // FIXME: It would be more efficient to use ::adopt here, but PropertyNameArray doesn't have a swap function.
     207    *variableNames = COMEnumVariant<PropertyNameArray>::createInstance(propertyNames);
    207208
    208209    return S_OK;
Note: See TracChangeset for help on using the changeset viewer.