Chromium Code Reviews| Index: src/isolate.h |
| =================================================================== |
| --- src/isolate.h (revision 7248) |
| +++ src/isolate.h (working copy) |
| @@ -1180,7 +1180,8 @@ |
| #ifdef DEBUG |
| public: |
| AssertNoContextChange() : |
| - context_(Isolate::Current()->context()) { |
| + scope_(Isolate::Current()), |
| + context_(Isolate::Current()->context(), Isolate::Current()) { |
| } |
| ~AssertNoContextChange() { |