mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
canvas: Do not update ImageKey during canvas layout (#35719)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
f31043602a
commit
6f6840d63c
17 changed files with 90 additions and 126 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
//! Common interfaces for Canvas Contexts
|
||||
|
||||
use canvas_traits::canvas::CanvasId;
|
||||
use euclid::default::Size2D;
|
||||
use ipc_channel::ipc::IpcSharedMemory;
|
||||
use script_layout_interface::{HTMLCanvasData, HTMLCanvasDataSource};
|
||||
|
@ -20,7 +19,6 @@ pub(crate) trait LayoutCanvasRenderingContextHelpers {
|
|||
|
||||
pub(crate) trait LayoutHTMLCanvasElementHelpers {
|
||||
fn data(self) -> HTMLCanvasData;
|
||||
fn get_canvas_id_for_layout(self) -> CanvasId;
|
||||
}
|
||||
|
||||
pub(crate) trait CanvasContext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue