Index: Source/core/dom/Range.cpp |
diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp |
index e6df3a2156dffeddf1e05e780bc1684846de5f0f..bb750a98b952df4932f3e52606e212719e5c9b4d 100644 |
--- a/Source/core/dom/Range.cpp |
+++ b/Source/core/dom/Range.cpp |
@@ -101,6 +101,7 @@ PassRefPtrWillBeRawPtr<Range> Range::create(Document& ownerDocument, const Posit |
return adoptRefWillBeNoop(new Range(ownerDocument, start.containerNode(), start.computeOffsetInContainerNode(), end.containerNode(), end.computeOffsetInContainerNode())); |
} |
+#if !ENABLE(OILPAN) || !defined(NDEBUG) |
Range::~Range() |
{ |
#if !ENABLE(OILPAN) |
@@ -112,6 +113,7 @@ Range::~Range() |
rangeCounter.decrement(); |
#endif |
} |
+#endif |
void Range::setDocument(Document& document) |
{ |