diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp index d9c842fb92a9..0f1592c028a4 100644 --- a/dom/base/nsDocument.cpp +++ b/dom/base/nsDocument.cpp @@ -3716,8 +3716,8 @@ nsIDocument::ShouldThrottleFrameRequests() return false; } - if (!mIsShowing) { - // We're not showing (probably in a background tab or the bf cache). + if (Hidden()) { + // We're not visible (probably in a background tab or the bf cache). return true; }