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