mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 920847 - Remove gfxSize reference from Azure; r=kats
This commit is contained in:
parent
bc73b3a3b6
commit
65fa5df03c
@ -36,10 +36,6 @@ struct ScaleFactor {
|
||||
MOZ_ASSERT(fabs(aX - aY) < 1e-6);
|
||||
}
|
||||
|
||||
explicit ScaleFactor(gfxSize aScale) : scale(aScale.width) {
|
||||
MOZ_ASSERT(fabs(aScale.width - aScale.height) < 1e-6);
|
||||
}
|
||||
|
||||
ScaleFactor<dst, src> Inverse() {
|
||||
return ScaleFactor<dst, src>(1 / scale);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user