merge fx-team to mozilla-central
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user