Index: third_party/WebKit/Source/platform/heap/PersistentNode.h |
diff --git a/third_party/WebKit/Source/platform/heap/PersistentNode.h b/third_party/WebKit/Source/platform/heap/PersistentNode.h |
index ff37d5d743378bf64e7c0f8820cea7475f87b727..0e518a39e295041b229de7028b427acaa2c6ea22 100644 |
--- a/third_party/WebKit/Source/platform/heap/PersistentNode.h |
+++ b/third_party/WebKit/Source/platform/heap/PersistentNode.h |
@@ -180,13 +180,16 @@ class CrossThreadPersistentRegion final { |
void freePersistentNode(PersistentNode*& persistentNode) { |
MutexLocker lock(m_mutex); |
- // When the thread that holds the heap object that the cross-thread persistent shuts down, |
- // prepareForThreadStateTermination() will clear out the associated CrossThreadPersistent<> |
- // and PersistentNode so as to avoid unsafe access. This can overlap with a holder of |
- // the CrossThreadPersistent<> also clearing the persistent and freeing the PersistentNode. |
+ // When the thread that holds the heap object that the cross-thread |
+ // persistent shuts down, prepareForThreadStateTermination() will clear out |
+ // the associated CrossThreadPersistent<> and PersistentNode so as to avoid |
+ // unsafe access. This can overlap with a holder of the |
+ // CrossThreadPersistent<> also clearing the persistent and freeing the |
+ // PersistentNode. |
// |
- // The lock ensures the updating is ordered, but by the time lock has been acquired the |
- // PersistentNode reference may have been cleared out already; check for this. |
+ // The lock ensures the updating is ordered, but by the time lock has been |
+ // acquired the PersistentNode reference may have been cleared out already; |
+ // check for this. |
if (!persistentNode) |
return; |
m_persistentRegion->freePersistentNode(persistentNode); |