Bug 1009478 - Make LayerActivity properties survive across reframes of an element. r=roc

This commit is contained in:
Markus Stange
2014-05-13 19:30:11 +02:00
parent efa9ebc14f
commit 41a4b9912a
5 changed files with 81 additions and 8 deletions

View File

@@ -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);
}
}