Closed Bug 1423551 Opened 6 years ago Closed 6 years ago

Use BaseRect methods instead of directly member variables in view/

Categories

(Core :: Graphics, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: milan, Assigned: milan)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

      No description provided.
Assignee: nobody → milan
Blocks: 1386277
Priority: -- → P3
Whiteboard: [gfx-noted]
Blocks: 1423919
No longer blocks: 1386277
Comment on attachment 8934944 [details]
Bug 1423551: Use BaseRect access methods instead of member variables in view/.

https://reviewboard.mozilla.org/r/205884/#review212166
Attachment #8934944 - Flags: review?(bugs) → review+
BTW, I gave this the r+ assuming MOZ_ALWAYS_INLINE will always do what it says:
https://searchfox.org/mozilla-central/source/gfx/2d/BaseRect.h#361

If there's any doubt, please seek further review. Thanks!
(In reply to Jet Villegas (:jet) from comment #3)
> BTW, I gave this the r+ assuming MOZ_ALWAYS_INLINE will always do what it
> says:
> https://searchfox.org/mozilla-central/source/gfx/2d/BaseRect.h#361

It does!  I ran some perf tests (in other cases) that confirmed this.  Just doing inline doesn't guarantee it.
Pushed by msreckovic@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/744a3f069aec
Use BaseRect access methods instead of member variables in view/. r=jet
https://hg.mozilla.org/mozilla-central/rev/744a3f069aec
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.