Chromium Code Reviews| Index: src/isolate.h |
| =================================================================== |
| --- src/isolate.h (revision 7210) |
| +++ src/isolate.h (working copy) |
| @@ -1180,7 +1180,9 @@ |
| #ifdef DEBUG |
| public: |
| AssertNoContextChange() : |
| - context_(Isolate::Current()->context()) { |
| + isolate_(Isolate::Current()), |
|
Vitaly Repeshko
2011/03/17 18:13:43
Convert tabs to spaces.
|
| + scope_(isolate_), |
| + context_(isolate_->context(), isolate_) { |
|
Vitaly Repeshko
2011/03/17 18:13:43
Just pass Isolate::Current(). No need to save it i
|
| } |
| ~AssertNoContextChange() { |
| @@ -1188,6 +1190,7 @@ |
| } |
| private: |
| + Isolate* isolate_; |
| HandleScope scope_; |
| Handle<Context> context_; |
| #else |