mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Tidy.
This commit is contained in:
parent
8408891ec5
commit
18ecf54d10
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ impl CanvasRenderingContext2D {
|
||||||
Size2D::new(w as f32, h as f32)))
|
Size2D::new(w as f32, h as f32)))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn parse_color(&self, string: &str) -> Result<RGBA,()> {
|
fn parse_color(&self, string: &str) -> Result<RGBA, ()> {
|
||||||
let mut parser = Parser::new(&string);
|
let mut parser = Parser::new(&string);
|
||||||
let color = CSSColor::parse(&mut parser);
|
let color = CSSColor::parse(&mut parser);
|
||||||
if parser.is_exhausted() {
|
if parser.is_exhausted() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue