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 56c23b3d82983eb114c1daccfd2476a8b6d69e5d..a45491ba8d4ebb7628cd6213424ced36f8c93af9 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h |
@@ -142,11 +142,11 @@ struct WrapperTypeInfo { |
return domTemplateFunction(isolate, world); |
} |
- void wrapperCreated() const { |
+ static void wrapperCreated() { |
ThreadState::current()->heap().heapStats().increaseWrapperCount(1); |
} |
- void wrapperDestroyed() const { |
+ static void wrapperDestroyed() { |
ThreadHeapStats& heapStats = ThreadState::current()->heap().heapStats(); |
heapStats.decreaseWrapperCount(1); |
heapStats.increaseCollectedWrapperCount(1); |