Bug 1183786 - Part 4: Drop unnecessary '!!' boolification. r=tn

This commit is contained in:
Daniel Holbert 2015-08-03 17:13:08 -07:00
parent e67b0fe9eb
commit ccf479d5b1

View File

@ -1576,7 +1576,7 @@ void
nsPresContext::SetContainer(nsIDocShell* aDocShell)
{
if (aDocShell) {
NS_ASSERTION(!(!!mContainer && mNeedsPrefUpdate),
NS_ASSERTION(!(mContainer && mNeedsPrefUpdate),
"Should only need pref update if mContainer is null.");
mContainer = static_cast<nsDocShell*>(aDocShell);
if (mNeedsPrefUpdate) {