Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(965)

Unified Diff: src/objects.cc

Issue 1232083003: Fix bug introduced by 4.4.83.18 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.4
Patch Set: Bump version Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8-version.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 496c26c2c23337055b41336d814bf0861d2c76f4..ad1395a2597d05a85c0702d8916ba9c743dcc9e2 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -3292,7 +3292,7 @@ MaybeHandle<Object> Object::SetSuperProperty(LookupIterator* it,
PropertyDetails details = own_lookup.property_details();
if (details.IsConfigurable() || !details.IsReadOnly()) {
return JSObject::SetOwnPropertyIgnoreAttributes(
- Handle<JSObject>(it->GetReceiver()), it->name(), value,
+ Handle<JSObject>::cast(it->GetReceiver()), it->name(), value,
details.attributes());
}
return WriteToReadOnlyProperty(&own_lookup, value, language_mode);
@@ -3302,7 +3302,7 @@ MaybeHandle<Object> Object::SetSuperProperty(LookupIterator* it,
PropertyDetails details = own_lookup.property_details();
if (details.IsConfigurable()) {
return JSObject::SetOwnPropertyIgnoreAttributes(
- Handle<JSObject>(it->GetReceiver()), it->name(), value,
+ Handle<JSObject>::cast(it->GetReceiver()), it->name(), value,
details.attributes());
}
« no previous file with comments | « include/v8-version.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698