Commit 805ce52a authored by haraken@chromium.org's avatar haraken@chromium.org

Oilpan: Remove out-dated comments from Handle.h

BUG=
TBR=keishi@chromium.org

Review URL: https://codereview.chromium.org/1319123003

git-svn-id: svn://svn.chromium.org/blink/trunk@201784 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 08f288ba
...@@ -357,9 +357,6 @@ public: ...@@ -357,9 +357,6 @@ public:
CrossThreadWeakPersistent(const RawPtr<U>& other) : Parent(other.get()) { } CrossThreadWeakPersistent(const RawPtr<U>& other) : Parent(other.get()) { }
}; };
// PersistentNode must be the left-most class to let the
// visitor->trace(static_cast<Collection*>(this)) trace the correct position.
// FIXME: derive affinity based on the collection.
template<typename Collection> template<typename Collection>
class PersistentHeapCollectionBase : public Collection { class PersistentHeapCollectionBase : public Collection {
// We overload the various new and delete operators with using the WTF DefaultAllocator to ensure persistent // We overload the various new and delete operators with using the WTF DefaultAllocator to ensure persistent
...@@ -399,6 +396,7 @@ private: ...@@ -399,6 +396,7 @@ private:
NO_LAZY_SWEEP_SANITIZE_ADDRESS NO_LAZY_SWEEP_SANITIZE_ADDRESS
void initialize() void initialize()
{ {
// FIXME: Derive affinity based on the collection.
ThreadState* state = ThreadState::current(); ThreadState* state = ThreadState::current();
ASSERT(state->checkThread()); ASSERT(state->checkThread());
m_persistentNode = state->persistentRegion()->allocatePersistentNode(this, TraceMethodDelegate<PersistentHeapCollectionBase<Collection>, &PersistentHeapCollectionBase<Collection>::trace>::trampoline); m_persistentNode = state->persistentRegion()->allocatePersistentNode(this, TraceMethodDelegate<PersistentHeapCollectionBase<Collection>, &PersistentHeapCollectionBase<Collection>::trace>::trampoline);
......
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