Closed Bug 1748635 Opened 4 years ago Closed 3 years ago

[wpt-sync] Sync PR 32246 - Make gfx::InsetsF::Scale() a mutating method

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 32246 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/32246
Details from upstream follow.

Xianzhu Wang <wangxianzhu@chromium.org> wrote:

Make gfx::InsetsF::Scale() a mutating method

Make it consistent with the Scale() methods of other gfx geometry
types, e.g. gfx::SizeF::Scale(), and prevent mistakes by using the
original const method as a mutating method.

Bug: 738465
Change-Id: I7e85e42ddd8612402a4a811a61afb278b3440e81
Reviewed-on: https://chromium-review.googlesource.com/3353636
WPT-Export-Revision: ed27bcda3079766ef679242bef45ece83fb01131

PR 32246 applied with additional changes from upstream: f440d706c24d80f16a2e7354192c51ab97883b14, 2e3154bbfc213187d014440d7bede5b49eead36c
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.