diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index d4a55222c249..6e346c59e35a 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -12350,11 +12350,6 @@ nsDocShell::AddToSessionHistory(nsIURI* aURI, nsIChannel* aChannel, discardLayoutState = ShouldDiscardLayoutState(httpChannel); } - // XXX Bug 1286838: Replace channel owner with loadInfo triggeringPrincipal - nsCOMPtr owner; - aChannel->GetOwner(getter_AddRefs(owner)); - triggeringPrincipal = do_QueryInterface(owner); - nsCOMPtr loadInfo = aChannel->GetLoadInfo(); if (loadInfo) { if (!triggeringPrincipal) {