未验证 提交 31d31c05 编写于 作者: J Jason Simmons 提交者: GitHub

Manual Skia roll to be1c99658979972e87cad02e9e5b979c190f2c99 (#25786)

上级 41a92052
......@@ -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
......
Signature: 1a3ffe9c0973f70c6c3030f478b8c62c
Signature: a7828479031203bb33c11e2d10d73f80
UNUSED LICENSES:
......
......@@ -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);
}
......
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册