зеркало из https://github.com/mozilla/gecko-dev.git
Bug 732877: Remove no-longer-used variable 'oldPrincipal' from nsGlobalWindow.cpp. r=jst
This commit is contained in:
Родитель
7a7a7b1f17
Коммит
e842a06988
|
@ -1933,12 +1933,6 @@ nsGlobalWindow::SetNewDocument(nsIDocument* aDocument,
|
|||
|
||||
bool reUseInnerWindow = aForceReuseInnerWindow || wouldReuseInnerWindow;
|
||||
|
||||
// Remember the old document's principal.
|
||||
nsIPrincipal *oldPrincipal = nsnull;
|
||||
if (oldDoc) {
|
||||
oldPrincipal = oldDoc->NodePrincipal();
|
||||
}
|
||||
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
// Set mDocument even if this is an outer window to avoid
|
||||
|
|
Загрузка…
Ссылка в новой задаче