From: Toon Verwaest Date: Thu, 11 Jun 2015 18:51:48 +0000 (+0200) Subject: Reconfigure on the right holder, which might be a hidden object. X-Git-Tag: upstream/4.7.83~2081 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a8315229fa78938dacd1117c1d8cbdeaf6be34d;p=platform%2Fupstream%2Fv8.git Reconfigure on the right holder, which might be a hidden object. BUG=v8:4137 LOG=n R=ishell@chromium.org Review URL: https://codereview.chromium.org/1178953003. Cr-Commit-Position: refs/heads/master@{#28959} --- diff --git a/src/objects.cc b/src/objects.cc index 180255f..86f0900 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -4180,9 +4180,11 @@ MaybeHandle JSObject::ReconfigureAsDataProperty( } if (it->IsElement()) { - SetElementCallback(object, it->index(), new_data, attributes); + SetElementCallback(it->GetHolder(), it->index(), new_data, + attributes); } else { - SetPropertyCallback(object, it->name(), new_data, attributes); + SetPropertyCallback(it->GetHolder(), it->name(), new_data, + attributes); } if (is_observed) { RETURN_ON_EXCEPTION(