| Index: third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
|
| index cf7ea9f16cf0865222f5d64ca2596ba5ea906160..077e05fda62c76a107e37c5a77d5eb550b7cc77f 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
|
| @@ -123,12 +123,12 @@ struct WrapperTypeInfo {
|
|
|
| void wrapperCreated() const
|
| {
|
| - ThreadState::current()->heap().heapStats().increaseWrapperCount(1);
|
| + ThreadHeap::heapStats().increaseWrapperCount(1);
|
| }
|
|
|
| void wrapperDestroyed() const
|
| {
|
| - ThreadHeapStats& heapStats = ThreadState::current()->heap().heapStats();
|
| + ThreadHeapStats& heapStats = ThreadHeap::heapStats();
|
| heapStats.decreaseWrapperCount(1);
|
| heapStats.increaseCollectedWrapperCount(1);
|
| }
|
|
|