Bug 1009478 - Make LayerActivity properties survive across reframes of an element. r=roc
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "nsRuleProcessorData.h"
|
||||
#include "nsTextNode.h"
|
||||
#include "ActiveLayerTracker.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
@@ -3828,6 +3829,7 @@ nsCSSFrameConstructor::ConstructFrameFromItemInternal(FrameConstructionItem& aIt
|
||||
!aItem.mContent->GetPrimaryFrame())) &&
|
||||
!(bits & FCDATA_SKIP_FRAMESET)) {
|
||||
aItem.mContent->SetPrimaryFrame(primaryFrame);
|
||||
ActiveLayerTracker::TransferActivityToFrame(aItem.mContent, primaryFrame);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user