Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-06-02 01:22:40 +02:00
parent c232cd49b4
commit 7797a19c70

View file

@ -190,12 +190,12 @@ impl Device {
} }
/// Returns the default background color. /// Returns the default background color.
pub fn default_background_color_for_forced_colors(&self) -> RGBA { pub fn default_background_color(&self) -> RGBA {
RGBA::new(255, 255, 255, 255) RGBA::new(255, 255, 255, 255)
} }
/// Returns the default foreground color. /// Returns the default foreground color.
pub fn default_color_for_forced_colors(&self) -> RGBA { pub fn default_color(&self) -> RGBA {
RGBA::new(0, 0, 0, 255) RGBA::new(0, 0, 0, 255)
} }