Index: src/rewriter.cc |
diff --git a/src/rewriter.cc b/src/rewriter.cc |
index df5c353415dda82878a5d2337287f0509f18092d..06335a80c7b38e658d78414f76a8a3c0a6a6d726 100644 |
--- a/src/rewriter.cc |
+++ b/src/rewriter.cc |
@@ -43,8 +43,8 @@ class Processor: public AstVisitor { |
result_assigned_(false), |
is_set_(false), |
in_try_(false), |
- factory_(Isolate::Current(), zone) { |
- InitializeAstVisitor(); |
+ factory_(zone->isolate(), zone) { |
+ InitializeAstVisitor(zone->isolate()); |
} |
virtual ~Processor() { } |