merge fx-team to mozilla-central

This commit is contained in:
Carsten "Tomcat" Book
2014-02-07 09:52:32 +01:00
90 changed files with 5921 additions and 188 deletions

View File

@@ -2967,8 +2967,15 @@ nsDocShell::RecomputeCanExecuteScripts()
nsresult
nsDocShell::SetDocLoaderParent(nsDocLoader * aParent)
{
bool wasFrame = IsFrame();
nsDocLoader::SetDocLoaderParent(aParent);
nsCOMPtr<nsISupportsPriority> priorityGroup = do_QueryInterface(mLoadGroup);
if (wasFrame != IsFrame() && priorityGroup) {
priorityGroup->AdjustPriority(wasFrame ? -1 : 1);
}
// Curse ambiguous nsISupports inheritance!
nsISupports* parent = GetAsSupports(aParent);