Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: Source/heap/ThreadState.h

Issue 100433005: [oilpan] Rename PauseScope to SafePointScope (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/workers/WorkerThread.cpp ('k') | Source/modules/webdatabase/DatabaseThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*);
« no previous file with comments | « Source/core/workers/WorkerThread.cpp ('k') | Source/modules/webdatabase/DatabaseThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698