| Index: third_party/WebKit/Source/platform/heap/Visitor.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/Visitor.cpp b/third_party/WebKit/Source/platform/heap/Visitor.cpp
|
| index 6f5d00fbaf3f812f5692f202b3d57277f2a446e4..36498604a8a9fb8f7b3f631541261b7f5cf40e73 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Visitor.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Visitor.cpp
|
| @@ -29,19 +29,19 @@ PassOwnPtr<Visitor> Visitor::create(ThreadState* state, BlinkGC::GCType gcType)
|
| }
|
|
|
| Visitor::Visitor(ThreadState* state, MarkingMode markingMode)
|
| - : m_state(state)
|
| + : VisitorHelper(state)
|
| , m_markingMode(markingMode)
|
| {
|
| // See ThreadState::runScheduledGC() why we need to already be in a
|
| // GCForbiddenScope before any safe point is entered.
|
| - m_state->enterGCForbiddenScope();
|
| + state->enterGCForbiddenScope();
|
|
|
| - ASSERT(m_state->checkThread());
|
| + ASSERT(state->checkThread());
|
| }
|
|
|
| Visitor::~Visitor()
|
| {
|
| - m_state->leaveGCForbiddenScope();
|
| + state()->leaveGCForbiddenScope();
|
| }
|
|
|
| } // namespace blink
|
|
|