зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1443425: Removed unused variable shellGrip. r=emilio
Reviewer note: `shell` is already a strong reference, so no need for it. MozReview-Commit-ID: 8IbcFOZxoAz
This commit is contained in:
Родитель
ac276d4193
Коммит
9cae88d7a9
|
@ -1265,7 +1265,6 @@ nsContentSink::StartLayout(bool aIgnorePendingSheets)
|
|||
// docshell in the iframe, and the content sink's call to OpenBody().
|
||||
// (Bug 153815)
|
||||
if (shell && !shell->DidInitialize()) {
|
||||
nsCOMPtr<nsIPresShell> shellGrip = shell;
|
||||
nsresult rv = shell->Initialize();
|
||||
if (NS_FAILED(rv)) {
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче