Chromium Code Reviews| Index: src/v8threads.h |
| =================================================================== |
| --- src/v8threads.h (revision 8618) |
| +++ src/v8threads.h (working copy) |
| @@ -152,12 +152,15 @@ |
| static void PreemptionReceived(); |
| private: |
| - explicit ContextSwitcher(Isolate* isolate, int every_n_ms); |
| + ContextSwitcher(Isolate* isolate, int every_n_ms); |
| + Isolate* isolate() const { return isolate_; } |
| + |
| void Run(); |
| bool keep_going_; |
| int sleep_ms_; |
| + Isolate* isolate_; |
| }; |
| } } // namespace v8::internal |