Remove unnecessary refcounting in IsSafeToFlush. Bug 311547, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@181900 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8a2c2a30b8
commit
1b846f42fe
@ -4726,7 +4726,7 @@ nsDocument::IsSafeToFlush() const
|
||||
PRBool isSafeToFlush = PR_TRUE;
|
||||
PRInt32 i = 0, n = GetNumberOfShells();
|
||||
while (i < n && isSafeToFlush) {
|
||||
nsCOMPtr<nsIPresShell> shell = GetShellAt(i);
|
||||
nsIPresShell* shell = GetShellAt(i);
|
||||
|
||||
if (shell) {
|
||||
shell->IsSafeToFlush(isSafeToFlush);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user