Backed out changeset 3e42f84996ea (bug 1359092) for causing assertion failures
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include "nsWebBrowser.h"
|
||||
|
||||
// Helper Classes
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsStyleCoord.h"
|
||||
#include "nsSize.h"
|
||||
#include "mozilla/ReflowInput.h"
|
||||
@@ -1005,8 +1004,7 @@ nsDocShellTreeOwner::HandleEvent(nsIDOMEvent* aEvent)
|
||||
nsAutoString url;
|
||||
if (NS_SUCCEEDED(links[0]->GetUrl(url))) {
|
||||
if (!url.IsEmpty()) {
|
||||
webnav->LoadURI(url.get(), 0, nullptr, nullptr, nullptr,
|
||||
nsContentUtils::GetSystemPrincipal());
|
||||
webnav->LoadURI(url.get(), 0, nullptr, nullptr, nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user