Closed
Bug 1487042
Opened 7 years ago
Closed 6 years ago
Remove NS_STYLE_IMAGELAYER_SIZE macro definitions.
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1504618
People
(Reporter: ian.gralinski, Assigned: ian.gralinski, NeedInfo)
References
Details
Attachments
(1 file, 1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180807170231
Steps to reproduce:
Nothing to reproduce - this is a patch for bug 1277133
Actual results:
Currently using NS_STYLE_IMAGELAYER_SIZE* macro definitions
Expected results:
Want to change this to enum class StyleImageLayerSize::*
| Assignee | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment on attachment 9004829 [details] [diff] [review]
bug1487042.patch
Review of attachment 9004829 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/style/nsStyleConsts.h
@@ +322,5 @@
> };
>
> // See nsStyleImageLayers
> +enum class StyleImageLayerSize : uint8_t {
> + Contain,
These look unused, let's remove them instead?
| Assignee | ||
Comment 3•7 years ago
|
||
Attachment #9004829 -
Attachment is obsolete: true
Comment 4•7 years ago
|
||
Comment on attachment 9004834 [details] [diff] [review]
Removed NS_STYLE_IMAGELAYER_SIZE macro definitions since they are unused
Review of attachment 9004834 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/style/nsStyleConsts.h
@@ -321,5 @@
> Round
> };
>
> -// See nsStyleImageLayers
> -enum class StyleImageLayerSize : uint8_t {
This looks good, but you need to merge the two patches. This patch alone doesn't apply on top of the repo.
Also, you need to request review to someone. Feel free to ping me on #introduction if you need help with that.
Thanks!
Updated•7 years ago
|
Assignee: nobody → ian.gralinski
Updated•7 years ago
|
Summary: Change NS_STYLE_IMAGELAYER_SIZE macro definitions to enum class → Remove NS_STYLE_IMAGELAYER_SIZE macro definitions.
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•7 years ago
|
||
Hi Ian, I think the next step is to attach a merged version of the old and new patch, and request review from Emilio. Please let us know if there's anything blocking you, thanks!
Flags: needinfo?(ian.gralinski)
Priority: -- → P3
Comment 6•6 years ago
|
||
There no longer is any occurrence of NS_STYLE_IMAGELAYER_SIZE according to searchfox. Maybe this bug can be closed?
Flags: needinfo?(cam)
Comment 7•6 years ago
|
||
It appears this bug is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1504618
Comment 8•6 years ago
|
||
Agreed.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(cam)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•