mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Further changes required by Servo
This commit is contained in:
parent
c232cd49b4
commit
7797a19c70
1 changed files with 2 additions and 2 deletions
|
@ -190,12 +190,12 @@ impl Device {
|
|||
}
|
||||
|
||||
/// 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)
|
||||
}
|
||||
|
||||
/// 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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue