Backed out changeset 5b9886673514 (bug 1201541) for android reftest orange CLOSED TREE

This commit is contained in:
Wes Kocher
2015-09-11 11:21:22 -07:00
parent 12a7459d64
commit 5c560941dd
2 changed files with 11 additions and 1 deletions

View File

@@ -2040,6 +2040,9 @@ 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