mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Fix build bustage from merging bug 1274673. r=jrmuizel?
MozReview-Commit-ID: 6qEERRYak3F
This commit is contained in:
parent
694703aee5
commit
4d035c9209
@ -17,16 +17,15 @@ WebRenderContainerLayer::RenderLayer()
|
||||
{
|
||||
WRScrollFrameStackingContextGenerator scrollFrames(this);
|
||||
|
||||
AutoTArray<Layer*, 12> children;
|
||||
SortChildrenBy3DZOrder(children);
|
||||
nsTArray<LayerPolygon> children = SortChildrenBy3DZOrder(SortMode::WITHOUT_GEOMETRY);
|
||||
|
||||
gfx::Rect relBounds = TransformedVisibleBoundsRelativeToParent();
|
||||
gfx::Matrix4x4 transform;// = GetTransform();
|
||||
if (gfxPrefs::LayersDump()) printf_stderr("ContainerLayer %p using %s as bounds/overflow, %s as transform\n", this, Stringify(relBounds).c_str(), Stringify(transform).c_str());
|
||||
|
||||
WRBridge()->AddWebRenderCommand(OpPushDLBuilder());
|
||||
for (Layer* child : children) {
|
||||
ToWebRenderLayer(child)->RenderLayer();
|
||||
for (LayerPolygon& child : children) {
|
||||
ToWebRenderLayer(child.layer)->RenderLayer();
|
||||
}
|
||||
WRBridge()->AddWebRenderCommand(
|
||||
OpPopDLBuilder(toWrRect(relBounds), toWrRect(relBounds), transform, FrameMetrics::NULL_SCROLL_ID));
|
||||
|
Loading…
Reference in New Issue
Block a user