mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Rename WindowMethods::set_paint_state()
This commit is contained in:
parent
189f40f6f8
commit
15a32247a6
5 changed files with 17 additions and 17 deletions
|
@ -368,7 +368,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
}
|
||||
}
|
||||
|
||||
self.window.set_render_state(paint_state);
|
||||
self.window.set_paint_state(paint_state);
|
||||
}
|
||||
|
||||
fn all_pipelines_in_idle_paint_state(&self) -> bool {
|
||||
|
|
|
@ -91,7 +91,7 @@ pub trait WindowMethods {
|
|||
/// Sets the ready state of the current page.
|
||||
fn set_ready_state(&self, ready_state: ReadyState);
|
||||
/// Sets the paint state of the current page.
|
||||
fn set_render_state(&self, paint_state: PaintState);
|
||||
fn set_paint_state(&self, paint_state: PaintState);
|
||||
|
||||
/// Returns the hidpi factor of the monitor.
|
||||
fn hidpi_factor(&self) -> ScaleFactor<ScreenPx, DevicePixel, f32>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue