Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor out some common code in PaintingContext #10607

Merged
merged 1 commit into from
Jun 9, 2017

Conversation

Hixie
Copy link
Contributor

@Hixie Hixie commented Jun 9, 2017

...and remove some highly specialised methods now that they can just
be implemented directly by the previous callers.

@Hixie
Copy link
Contributor Author

Hixie commented Jun 9, 2017

cc @abarth, who may care about this change.

@abarth
Copy link
Contributor

abarth commented Jun 9, 2017

LGTM

...and remove some highly specialised methods now that they can just
be implemented directly by the previous callers.
@Hixie
Copy link
Contributor Author

Hixie commented Jun 9, 2017

Test failure was caused by the code invoking saveLayer() on the mock canvas (previously it was dropped on the floor because we didn't see inside the pushPhysicalModel call). Turns out we didn't track saveLayer() so the save count was off when we got to restore(). We now track saveLayer(). At some point we should make mock canvas much more aware of everything else going on here.

@Hixie
Copy link
Contributor Author

Hixie commented Jun 9, 2017

will land on green unless @apwilson leaves the office first

@Hixie Hixie merged commit 0c2546c into flutter:master Jun 9, 2017
@Hixie Hixie deleted the cleanPaintingContext branch June 9, 2017 23:50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 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.

3 participants