| Index: third_party/WebKit/Source/platform/heap/TraceTraits.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/TraceTraits.h b/third_party/WebKit/Source/platform/heap/TraceTraits.h
|
| index bee50d2db83bc92782775d5e3cca82e89d209118..48a0ba251302474650c03791bfacc5d08b138a21 100644
|
| --- a/third_party/WebKit/Source/platform/heap/TraceTraits.h
|
| +++ b/third_party/WebKit/Source/platform/heap/TraceTraits.h
|
| @@ -191,7 +191,7 @@ void TraceTrait<T>::trace(Visitor* visitor, void* self)
|
| static_assert(WTF::NeedsTracing<T>::value || WTF::IsWeak<T>::value, "T should be traced");
|
| if (visitor->getMarkingMode() == Visitor::GlobalMarking) {
|
| // Switch to inlined global marking dispatch.
|
| - static_cast<T*>(self)->trace(InlinedGlobalMarkingVisitor());
|
| + static_cast<T*>(self)->trace(InlinedGlobalMarkingVisitor(visitor->state()));
|
| } else {
|
| static_cast<T*>(self)->trace(visitor);
|
| }
|
|
|