Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 84e761f34bfb02fb67ca87992213972b5ce6a698..d100e619917334b3bd4ae7fdf65e9d2510714f5d 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -1191,8 +1191,8 @@ static MaybeObject* ThrowReferenceError(Isolate* isolate, Name* name) { |
HandleScope scope(isolate); |
Handle<Name> name_handle(name); |
Handle<Object> error = |
- FACTORY->NewReferenceError("not_defined", |
- HandleVector(&name_handle, 1)); |
+ isolate->factory()->NewReferenceError("not_defined", |
+ HandleVector(&name_handle, 1)); |
return isolate->Throw(*error); |
} |