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

Unified Diff: third_party/WebKit/Source/platform/heap/SafePoint.h

Issue 1402103004: Oilpan: Factor out GC-related enum definitions to BlinkGC.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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
Index: third_party/WebKit/Source/platform/heap/SafePoint.h
diff --git a/third_party/WebKit/Source/platform/heap/SafePoint.h b/third_party/WebKit/Source/platform/heap/SafePoint.h
index 982cbe35e47db41e9bb7d1bd7621b8a4015ad88b..0b96633b51b4b40dcd08a8fa33228eb410f5901a 100644
--- a/third_party/WebKit/Source/platform/heap/SafePoint.h
+++ b/third_party/WebKit/Source/platform/heap/SafePoint.h
@@ -13,7 +13,7 @@ namespace blink {
class SafePointScope final {
WTF_MAKE_NONCOPYABLE(SafePointScope);
public:
- explicit SafePointScope(ThreadState::StackState stackState, ThreadState* state = ThreadState::current())
+ explicit SafePointScope(BlinkGC::StackState stackState, ThreadState* state = ThreadState::current())
: m_state(state)
{
if (m_state) {
@@ -40,7 +40,7 @@ private:
class SafePointAwareMutexLocker final {
WTF_MAKE_NONCOPYABLE(SafePointAwareMutexLocker);
public:
- explicit SafePointAwareMutexLocker(MutexBase& mutex, ThreadState::StackState stackState = ThreadState::HeapPointersOnStack)
+ explicit SafePointAwareMutexLocker(MutexBase& mutex, BlinkGC::StackState stackState = BlinkGC::HeapPointersOnStack)
: m_mutex(mutex)
, m_locked(false)
{
« no previous file with comments | « third_party/WebKit/Source/platform/heap/PendingGCRunner.h ('k') | third_party/WebKit/Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698