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

Unified Diff: src/objects.cc

Issue 1178883003: Fix GCMole issue (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | 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 91abf11a01beb2e9cd683b8ccaa97f30a9d6f55d..180255f4fd39cca153b7323c0d1c1f990224322e 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -4127,7 +4127,8 @@ void JSObject::AddProperty(Handle<JSObject> object, Handle<Name> name,
// static
void ExecutableAccessorInfo::ClearSetter(Handle<ExecutableAccessorInfo> info) {
- info->set_setter(*v8::FromCData(info->GetIsolate(), nullptr));
+ Handle<Object> object = v8::FromCData(info->GetIsolate(), nullptr);
+ info->set_setter(*object);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698