From a4056fbd0017ec30cfafcb37b28464840b28c804 Mon Sep 17 00:00:00 2001 From: Timothy Nikkel Date: Tue, 15 Apr 2014 00:33:45 -0500 Subject: [PATCH] Bug 964187. Address review comment. --- content/base/src/nsImageLoadingContent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsImageLoadingContent.cpp b/content/base/src/nsImageLoadingContent.cpp index 4281ef629c11..cc326245599c 100644 --- a/content/base/src/nsImageLoadingContent.cpp +++ b/content/base/src/nsImageLoadingContent.cpp @@ -482,7 +482,7 @@ nsImageLoadingContent::FrameDestroyed(nsIFrame* aFrame) UntrackImage(mCurrentRequest); UntrackImage(mPendingRequest); - nsIPresShell* presShell = presContext ? presContext->PresShell() : nullptr; + nsIPresShell* presShell = presContext ? presContext->GetPresShell() : nullptr; if (presShell) { presShell->RemoveImageFromVisibleList(this); }