mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove SetLayerClipRect and add SetLayerOrigin
The constallation has accurate information about iframe layer origins, but not their size.
This commit is contained in:
parent
e17cc2d5e2
commit
ff71c32218
4 changed files with 21 additions and 23 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
use compositor_task::{Msg, Exit, ChangeReadyState, SetIds};
|
||||
use compositor_task::{GetGraphicsMetadata, CreateOrUpdateRootLayer, CreateOrUpdateDescendantLayer};
|
||||
use compositor_task::{SetLayerClipRect, Paint, ScrollFragmentPoint, LoadComplete};
|
||||
use compositor_task::{SetLayerOrigin, Paint, ScrollFragmentPoint, LoadComplete};
|
||||
use compositor_task::{ShutdownComplete, ChangeRenderState, RenderMsgDiscarded};
|
||||
|
||||
use geom::scale_factor::ScaleFactor;
|
||||
|
@ -90,7 +90,7 @@ impl NullCompositor {
|
|||
|
||||
CreateOrUpdateRootLayer(..) |
|
||||
CreateOrUpdateDescendantLayer(..) |
|
||||
SetLayerClipRect(..) | Paint(..) |
|
||||
SetLayerOrigin(..) | Paint(..) |
|
||||
ChangeReadyState(..) | ChangeRenderState(..) | ScrollFragmentPoint(..) |
|
||||
LoadComplete(..) | RenderMsgDiscarded(..) => ()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue