Commit 6cdc6244 authored by Omer Katz's avatar Omer Katz Committed by Commit Bot

heap: Remove TraceTrait<T>::GetHeapObjectHeader

This method is not used and would not compile if we tried to use it.

Change-Id: I1d97d6ad4e0d3924e902a34e2ecc4d0a4c7604d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2362893
Auto-Submit: Omer Katz <omerkatz@chromium.org>
Commit-Queue: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: default avatarAnton Bikineev <bikineev@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799197}
parent c9ff9a09
......@@ -164,11 +164,6 @@ struct TraceTrait {
return {self, nullptr};
}
static HeapObjectHeader* GetHeapObjectHeader(const void* self) {
return AdjustPointerTrait<T>::GetHeapObjectHeader(
static_cast<const T*>(self));
}
static void Trace(Visitor*, const void* self);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment