Remove unused argument to AsyncCompositionManager::WalkTheTree, no bug, r=mattwoodrow over irc

This commit is contained in:
David Zbarsky 2013-06-29 11:53:49 -07:00
parent f9fe932a36
commit 0d9e8dfecc

View File

@ -45,7 +45,6 @@ ContentMightReflowOnOrientationChange(const nsIntRect& rect)
template<Op OP>
static void
WalkTheTree(Layer* aLayer,
Layer* aParent,
bool& aReady,
const TargetConfig& aTargetConfig)
{
@ -75,7 +74,7 @@ WalkTheTree(Layer* aLayer,
}
for (Layer* child = aLayer->GetFirstChild();
child; child = child->GetNextSibling()) {
WalkTheTree<OP>(child, aLayer, aReady, aTargetConfig);
WalkTheTree<OP>(child, aReady, aTargetConfig);
}
}
@ -83,7 +82,6 @@ void
AsyncCompositionManager::ResolveRefLayers()
{
WalkTheTree<Resolve>(mLayerManager->GetRoot(),
nullptr,
mReadyForCompose,
mTargetConfig);
}
@ -92,7 +90,6 @@ void
AsyncCompositionManager::DetachRefLayers()
{
WalkTheTree<Detach>(mLayerManager->GetRoot(),
nullptr,
mReadyForCompose,
mTargetConfig);
}