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

Fix coordinate space confusion in image::tiles. #3299

Merged
merged 1 commit into from
Nov 12, 2018

Conversation

mattwoodrow
Copy link
Contributor

@mattwoodrow mattwoodrow commented Nov 12, 2018

'result' was being computed as a size, but compared with
leftover_offset which is a position.
This changes us to work only with positions, and converts to a size
at the end of the function.

Addresses gecko bug 1506109.


This change is Reviewable

'result' was being computed as a size, but compared with
leftover_offset which is a position.
This changes us to work only with positions, and converts to a size
at the end of the function.
@gw3583
Copy link
Contributor

gw3583 commented Nov 12, 2018

r? @nical

@nical
Copy link
Contributor

nical commented Nov 12, 2018

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit fe49a2a has been approved by nical

@bors-servo
Copy link
Contributor

⌛ Testing commit fe49a2a with merge 45498e5...

bors-servo pushed a commit that referenced this pull request Nov 12, 2018
Fix coordinate space confusion in image::tiles.

'result' was being computed as a size, but compared with
leftover_offset which is a position.
This changes us to work only with positions, and converts to a size
at the end of the function.

Addresses gecko bug 1506109.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3299)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: nical
Pushing 45498e5 to master...

@bors-servo bors-servo merged commit fe49a2a into servo:master Nov 12, 2018
@mattwoodrow mattwoodrow deleted the tile-size branch November 13, 2018 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants