Index: Source/modules/webgl/WebGLObject.cpp |
diff --git a/Source/modules/webgl/WebGLObject.cpp b/Source/modules/webgl/WebGLObject.cpp |
index e84eb24742224fd9c3c4e1434a74ccee96547c03..1a1381e21e7389d733428c2c5168e808d7c48c40 100644 |
--- a/Source/modules/webgl/WebGLObject.cpp |
+++ b/Source/modules/webgl/WebGLObject.cpp |
@@ -72,15 +72,12 @@ void WebGLObject::detachAndDeleteObject() |
// Helper method that pairs detachment with platform object |
// deletion. |
// |
- // With Oilpan enabled, objects may end up being finalized without |
- // having been detached first. Consequently, the objects force |
- // detachment first before deleting the platform object. Without |
- // Oilpan, the objects will have been detached from the 'parent' |
- // objects first and do not separately require it when finalizing. |
+ // Objects may end up being finalized without having been detached first. |
+ // Consequently, the objects force detachment first before deleting the |
+ // platform object. |
// |
- // However, as detach() is trivial, the individual WebGL |
- // destructors will always call detachAndDeleteObject() rather |
- // than do it based on Oilpan being enabled. |
+ // The individual WebGL destructors will always call detachAndDeleteObject() |
+ // rather than do it based on Oilpan GC. |
detach(); |
deleteObject(nullptr); |
} |