Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Fix RectHeightStyle::kMax ascent computation bug #15106

Merged
merged 3 commits into from
Jan 7, 2020

Conversation

GaryQian
Copy link
Contributor

@GaryQian GaryQian commented Jan 3, 2020

RectHeightStyle::kMax in GetRectsForRange was using unscaled_ascent instead of ascent, which resulted in the use of tight bounds instead of max bounds.

This fixes the bug and updates tests. Also disabled an incompatible-on-mac test on mac.

Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to have linked issue if this is something someone might notice and search the issues database for it.

@GaryQian
Copy link
Contributor Author

GaryQian commented Jan 6, 2020

Makes sense! I'll file an issue and link it.

@GaryQian
Copy link
Contributor Author

GaryQian commented Jan 6, 2020

Fixes flutter/flutter#48256

@GaryQian
Copy link
Contributor Author

GaryQian commented Jan 6, 2020

@Rusino This may be of interest as some of the tests were testing against the old wrong values.

@GaryQian
Copy link
Contributor Author

GaryQian commented Jan 7, 2020

Merging, luci-engine failure is a flake. Passes in a rerun.

@GaryQian GaryQian merged commit f9a2fab into flutter:master Jan 7, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 8, 2020
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Jan 8, 2020
flutter/engine@3f52888...a50f1ef

git log 3f52888..a50f1ef --first-parent --oneline
2020-01-08 [email protected] Migrate flutter_runner from flutter_runner::{Thread,Loop} to fml::{Thread,MessageLoop} (flutter/engine#15118)
2020-01-07 [email protected] Refactor BitmapCanvas, lazily allocate canvas, fix image composition bug. (flutter/engine#15153)
2020-01-07 [email protected] Recover when browser throws on ImageElement.decode due to too many images (flutter/engine#15160)
2020-01-07 [email protected] Fix RectHeightStyle::kMax ascent computation bug (flutter/engine#15106)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
bkonyi pushed a commit to flutter/flutter that referenced this pull request Jan 9, 2020
flutter/engine@3f52888...a50f1ef

git log 3f52888..a50f1ef --first-parent --oneline
2020-01-08 [email protected] Migrate flutter_runner from flutter_runner::{Thread,Loop} to fml::{Thread,MessageLoop} (flutter/engine#15118)
2020-01-07 [email protected] Refactor BitmapCanvas, lazily allocate canvas, fix image composition bug. (flutter/engine#15153)
2020-01-07 [email protected] Recover when browser throws on ImageElement.decode due to too many images (flutter/engine#15160)
2020-01-07 [email protected] Fix RectHeightStyle::kMax ascent computation bug (flutter/engine#15106)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
filmil pushed a commit to filmil/engine that referenced this pull request Mar 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants