Skip to content

Commit

Permalink
incorperate recent enumerator change
Browse files Browse the repository at this point in the history
  • Loading branch information
leirocks committed Aug 24, 2016
1 parent 9ed60d6 commit 48db1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Runtime/Library/JavascriptProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ namespace Js
{
((JavascriptArray*)trapResult)->GetEnumerator(false, &enmeratorObj, scriptContext);
JavascriptEnumerator* pEnumerator = JavascriptEnumerator::FromVar(enmeratorObj);
while ((propertyName = pEnumerator->GetCurrentAndMoveNext(propertyId)) != NULL)
while ((propertyName = pEnumerator->MoveAndGetNext(propertyId)) != NULL)
{
PropertyId propId = JavascriptOperators::GetPropertyId(propertyName, scriptContext);
Var prop = JavascriptOperators::GetProperty(RecyclableObject::FromVar(trapResult), propId, scriptContext);
Expand Down

0 comments on commit 48db1aa

Please sign in to comment.