Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h

Issue 1884083002: Revert of Rename Heap to ThreadHeap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 bc9c48a7e659f82fd9db8241ed1305ec89f0c079..6700f008e52a11cd5b7390f903c2230e25d90366 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
@@ -122,12 +122,12 @@
void wrapperCreated() const
{
- ThreadHeap::heapStats().increaseWrapperCount(1);
+ Heap::heapStats().increaseWrapperCount(1);
}
void wrapperDestroyed() const
{
- ThreadHeapStats& heapStats = ThreadHeap::heapStats();
+ ThreadHeapStats& heapStats = Heap::heapStats();
heapStats.decreaseWrapperCount(1);
heapStats.increaseCollectedWrapperCount(1);
}

Powered by Google App Engine