Manual Skia roll to be1c99658979972e87cad02e9e5b979c190f2c99 (flutter/engine#25786)

This commit is contained in:
Jason Simmons
2021-04-27 11:42:41 -07:00
committed by GitHub
parent 1c7f312d6a
commit 9c2c4dd009
4 changed files with 4 additions and 4 deletions

2
DEPS
View File

@@ -27,7 +27,7 @@ vars = {
'skia_git': 'https://skia.googlesource.com',
# OCMock is for testing only so there is no google clone
'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
'skia_revision': '827dab407ec0d265d3bf10270795e2b0f7309577',
'skia_revision': 'be1c99658979972e87cad02e9e5b979c190f2c99',
# When updating the Dart revision, ensure that all entries that are
# dependencies of Dart are also updated to match the entries in the

View File

@@ -1,4 +1,4 @@
Signature: 1a3ffe9c0973f70c6c3030f478b8c62c
Signature: a7828479031203bb33c11e2d10d73f80
UNUSED LICENSES:

View File

@@ -126,7 +126,7 @@ skt::TextStyle TxtToSkia(const TextStyle& txt) {
for (const txt::TextShadow& txt_shadow : txt.text_shadows) {
skt::TextShadow shadow;
shadow.fOffset = txt_shadow.offset;
shadow.fBlurRadius = txt_shadow.blur_radius;
shadow.fBlurSigma = txt_shadow.blur_radius;
shadow.fColor = txt_shadow.color;
skia.addShadow(shadow);
}

View File

@@ -75,7 +75,7 @@ TextStyle SkiaToTxt(const skt::TextStyle& skia) {
for (const skt::TextShadow& skia_shadow : skia.getShadows()) {
txt::TextShadow shadow;
shadow.offset = skia_shadow.fOffset;
shadow.blur_radius = skia_shadow.fBlurRadius;
shadow.blur_radius = skia_shadow.fBlurSigma;
shadow.color = skia_shadow.fColor;
txt.text_shadows.emplace_back(shadow);
}