summaryrefslogtreecommitdiff
path: root/dom/base/nsCCUncollectableMarker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsCCUncollectableMarker.cpp')
-rw-r--r--dom/base/nsCCUncollectableMarker.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/dom/base/nsCCUncollectableMarker.cpp b/dom/base/nsCCUncollectableMarker.cpp
index 0384e6e509..db4d0d3512 100644
--- a/dom/base/nsCCUncollectableMarker.cpp
+++ b/dom/base/nsCCUncollectableMarker.cpp
@@ -194,7 +194,6 @@ MarkDocument(nsIDocument* aDoc, bool aCleanupJS, bool aPrepareForCC)
return;
}
- nsIDocument *doc = aViewer->GetDocument();
if (aDoc->GetMarkedCCGeneration() != nsCCUncollectableMarker::sGeneration) {
aDoc->MarkUncollectableForCCGeneration(nsCCUncollectableMarker::sGeneration);
if (aCleanupJS) {