diff --git a/mozilla/layout/base/nsFrameManager.cpp b/mozilla/layout/base/nsFrameManager.cpp index 689adbea1fd..33e6030deaa 100644 --- a/mozilla/layout/base/nsFrameManager.cpp +++ b/mozilla/layout/base/nsFrameManager.cpp @@ -1180,7 +1180,7 @@ FrameManager::ReResolveStyleContext(nsIPresContext* aPresContext, // do primary context nsIStyleContext* newContext = nsnull; if (pseudoTag) { - aPresContext->ResolvePseudoStyleContextFor(content, pseudoTag, aParentContext, PR_FALSE, + aPresContext->ResolvePseudoStyleContextFor(aParentContent, pseudoTag, aParentContext, PR_FALSE, &newContext); NS_RELEASE(pseudoTag); } diff --git a/mozilla/layout/html/base/src/nsFrameManager.cpp b/mozilla/layout/html/base/src/nsFrameManager.cpp index 689adbea1fd..33e6030deaa 100644 --- a/mozilla/layout/html/base/src/nsFrameManager.cpp +++ b/mozilla/layout/html/base/src/nsFrameManager.cpp @@ -1180,7 +1180,7 @@ FrameManager::ReResolveStyleContext(nsIPresContext* aPresContext, // do primary context nsIStyleContext* newContext = nsnull; if (pseudoTag) { - aPresContext->ResolvePseudoStyleContextFor(content, pseudoTag, aParentContext, PR_FALSE, + aPresContext->ResolvePseudoStyleContextFor(aParentContent, pseudoTag, aParentContext, PR_FALSE, &newContext); NS_RELEASE(pseudoTag); }