Index: Source/core/dom/Range.cpp |
diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp |
index 4fa8b8b9c967ac96e518ae08f00915e822a667e9..f919f0ae6b201ab2bd632095bb1721aaf9659704 100644 |
--- a/Source/core/dom/Range.cpp |
+++ b/Source/core/dom/Range.cpp |
@@ -135,6 +135,13 @@ Range::~Range() |
} |
#endif |
+void Range::dispose() |
+{ |
+#if ENABLE(OILPAN) |
haraken
2015/09/09 23:48:11
Add a comment about why we want to call detachRang
|
+ m_ownerDocument->detachRange(this); |
+#endif |
+} |
+ |
void Range::setDocument(Document& document) |
{ |
ASSERT(m_ownerDocument != document); |