mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Remove MOZ_B2G leftovers and some dead B2G-only components.
This commit is contained in:
parent
75d98fd33e
commit
719ac1bc38
91 changed files with 28 additions and 5017 deletions
|
|
@ -2346,15 +2346,7 @@ ContainerState::GetLayerCreationHint(AnimatedGeometryRoot* aAnimatedGeometryRoot
|
|||
break;
|
||||
}
|
||||
nsIScrollableFrame* scrollable = do_QueryFrame(fParent);
|
||||
if (scrollable
|
||||
#ifdef MOZ_B2G
|
||||
&& scrollable->WantAsyncScroll()
|
||||
#endif
|
||||
) {
|
||||
// WantAsyncScroll() returns false when the frame has overflow:hidden,
|
||||
// so we won't create tiled layers for overflow:hidden frames even if
|
||||
// they have a display port. The main purpose of the WantAsyncScroll check
|
||||
// is to allow the B2G camera app to use hardware composer for compositing.
|
||||
if (scrollable) {
|
||||
return LayerManager::SCROLLABLE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue