Auto merge of #17790 - glennw:update-wr-shadows-agan, r=KiChjang

Update WR (text-shadow optimizations).

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17790)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-07-20 00:55:45 -07:00 committed by GitHub
commit 069243a474
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View file

@ -3435,7 +3435,7 @@ dependencies = [
[[package]]
name = "webrender"
version = "0.48.0"
source = "git+https://github.com/servo/webrender#80453c8168a176342801fcbabdcf06a601c07c4d"
source = "git+https://github.com/servo/webrender#b83c200c657f6b6fb17d09f329ba77803420b46a"
dependencies = [
"app_units 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3464,7 +3464,7 @@ dependencies = [
[[package]]
name = "webrender_api"
version = "0.48.0"
source = "git+https://github.com/servo/webrender#80453c8168a176342801fcbabdcf06a601c07c4d"
source = "git+https://github.com/servo/webrender#b83c200c657f6b6fb17d09f329ba77803420b46a"
dependencies = [
"app_units 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -2123,7 +2123,7 @@ impl FragmentDisplayListBuilding for Fragment {
// to back).
// Shadows
for shadow in text_shadows.iter() {
for shadow in text_shadows.iter().rev() {
state.add_display_item(DisplayItem::PushTextShadow(box PushTextShadowDisplayItem {
base: base.clone(),
blur_radius: shadow.blur,