diff options
author | Adenilson Cavalcanti <cavalcantii@gmail.com> | 2015-02-03 18:08:30 -0800 |
---|---|---|
committer | Adenilson Cavalcanti <cavalcantii@gmail.com> | 2015-02-03 18:08:30 -0800 |
commit | ffa23088fffab788a73eeb004ec11404c7633e05 (patch) | |
tree | d946b90b6c104193d77c769c7901d066a0012f14 /components/layout/layout_task.rs | |
parent | e1db06475c7d1833b7a4469b797cdadceb28df6e (diff) | |
download | servo-ffa23088fffab788a73eeb004ec11404c7633e05.tar.gz servo-ffa23088fffab788a73eeb004ec11404c7633e05.zip |
Using the new transparent_black() in the proper places.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index e2eea711de7..9a19a84c6e1 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -677,7 +677,7 @@ impl LayoutTask { .to_gfx_color() }; - let black = color::black(); + let black = color::transparent_black(); // TODO: Use equality operators when we sync with rust-azure. if element_bg_color.r != black.r || element_bg_color.g != black.g || element_bg_color.b != black.b || element_bg_color.a != black.a { |