Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Unified Diff: Source/core/dom/Range.cpp

Issue 697893003: Oilpan: avoid invoking some no-op finalizers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove Finalized<> for StyleSheetList Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Range.h ('k') | Source/core/dom/ScriptedAnimationController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
« no previous file with comments | « Source/core/dom/Range.h ('k') | Source/core/dom/ScriptedAnimationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698