Chromium Code Reviews| Index: Source/heap/ThreadState.h |
| diff --git a/Source/heap/ThreadState.h b/Source/heap/ThreadState.h |
| index 646102339f2a5f26127db32bdf7f63f547530ba5..ef8a80d0533d1aa89b082903dc82140a15c27cfa 100644 |
| --- a/Source/heap/ThreadState.h |
| +++ b/Source/heap/ThreadState.h |
| @@ -234,10 +234,10 @@ public: |
| void safePoint(); |
| - class PauseScope { |
| + class SafePointScope { |
| public: |
| - PauseScope(StackState stackState) { ThreadState::Current()->paused(stackState); } |
| - ~PauseScope() { ThreadState::Current()->resumed(); } |
| + SafePointScope(StackState stackState) { ThreadState::Current()->paused(stackState); } |
|
Mads Ager (chromium)
2013/12/05 08:39:42
As discussed offline we should change the names of
|
| + ~SafePointScope() { ThreadState::Current()->resumed(); } |
| }; |
| void visitStack(Visitor*); |