Closed Bug 1416306 Opened 2 years ago Closed 2 years ago

const ref instead of by value

Categories

(Core :: Graphics: WebRender, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: milan, Assigned: milan)

Details

(Whiteboard: [wr-reserve])

Attachments

(1 file)

Minor issue with static inline wr::LayoutRect ToLayoutRect(const gfxRect rect)
in WebRenderTypes.h  Make it a const reference instead.
:mstange review in IRC.
Assignee: nobody → milan
Attachment #8927402 - Flags: review+
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [wr-reserve]
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/20d4af5881a1
Make the function argument a const& instead of passing by value. r=mstange
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/20d4af5881a1
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.