Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.

git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2004-08-20 20:34:37 +00:00
parent 797d600ffd
commit 2dbfb983b1
91 changed files with 242 additions and 527 deletions

View File

@@ -687,8 +687,7 @@ nsImageLoadingContent::FireEvent(const nsAString& aEventType)
nsIPresShell *shell = document->GetShellAt(0);
NS_ENSURE_TRUE(shell, NS_ERROR_FAILURE);
nsCOMPtr<nsPresContext> presContext;
shell->GetPresContext(getter_AddRefs(presContext));
nsPresContext *presContext = shell->GetPresContext();
NS_ENSURE_TRUE(presContext, NS_ERROR_FAILURE);
nsCOMPtr<nsIContent> ourContent = do_QueryInterface(this);