Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented Jun 8, 2016

Also, make sure that the parent is notified when they change.

Fixes #2298

@Hixie
Copy link
Contributor Author

Hixie commented Jun 8, 2016

@abarth Given the issues I had with this patch, it might be worth you giving it a once-over again.

Copy link
Contributor

Choose a reason for hiding this comment

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

How do we decide whether to include this check? In this case, I suspect it doesn't make it faster.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should probably do an audit. I agree that this is a case where we shouldn't have it. It makes sense to have it when you're frequently reusing objects, or when the objects are really complex (ThemeData, for instance).

Filed #4447

@abarth
Copy link
Contributor

abarth commented Jun 8, 2016

LGTM

Also, make sure that the parent is notified when they change.

Fixes flutter#2298
@Hixie Hixie force-pushed the cache-intrinsics branch from e85e8a5 to 5c504f7 Compare June 8, 2016 02:52
@Hixie Hixie merged commit 007d0a2 into flutter:master Jun 8, 2016
@Hixie Hixie deleted the cache-intrinsics branch June 8, 2016 05:07
cdotstout pushed a commit to cdotstout/flutter that referenced this pull request Apr 3, 2018
* fix an off-by-one when the offset itself is a word boundary
* lazily create the word break iterator
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IntrinsicWidth doesn't change its size when it's child's width changes.

2 participants