Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow

This commit is contained in:
James Willcox
2015-09-03 11:43:09 -05:00
parent b7cfa4a322
commit f9ce1ed97b
2 changed files with 1 additions and 11 deletions

View File

@@ -2040,9 +2040,6 @@ ContainerState::GetLayerCreationHint(const nsIFrame* aAnimatedGeometryRoot)
{
// Check whether the layer will be scrollable. This is used as a hint to
// influence whether tiled layers are used or not.
if (mParameters.mInLowPrecisionDisplayPort) {
return LayerManager::SCROLLABLE;
}
nsIFrame* animatedGeometryRootParent = aAnimatedGeometryRoot->GetParent();
nsIScrollableFrame* scrollable = do_QueryFrame(animatedGeometryRootParent);
if (scrollable