Closed Bug 1182744 Opened 10 years ago Closed 10 years ago

Make MaskLayerImageKey::mLayerCount and its mutators private

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(1 file)

No description provided.
As requested, this patch makes mLayerCount and it's mutators private, and exposes only a HasZeroLayerCount method. The way to manage mLayerCount under this system is to use MaskLayerImageKeyRef, which is now a friend class of MaskLayerImageKey.
Attachment #8632403 - Flags: review?(dholbert)
Assignee: nobody → michael
Depends on: 1073219
(In reply to Michael Layzell [:mystor] from comment #1) > As requested (in bug 1073219 comment 13, for reference)
Comment on attachment 8632403 [details] [diff] [review] Make MaskLayerImageKey::mLayerCount and its mutators private Looks good to me! Thanks for keeping the constructor init-lists in order, too. :)
Attachment #8632403 - Flags: review?(dholbert) → review+
(Technically "Layer"-flavored files in the layout/ directory belong in bugzilla-component "Graphics::Layers". --> reclassifying.)
Component: Layout → Graphics: Layers
Version: unspecified → Trunk
Status: NEW → ASSIGNED
Please land after bug 1073219
Keywords: checkin-needed
Added bug number and "r=dholbert" to commit message (please include those up-front in the future; sorry for not mentioning that in review comments), and landed: https://hg.mozilla.org/integration/mozilla-inbound/rev/e50aeaca001a
Flags: in-testsuite-
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: