Closed
Bug 1448690
Opened 7 years ago
Closed 7 years ago
Remove IsStyledByServo.
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
No description provided.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8962183 [details]
Bug 1448690: Remove IsStyledByServo.
https://reviewboard.mozilla.org/r/231026/#review236440
Code analysis found 4 defects in this patch:
- 4 defects found by clang-tidy
You can run this analysis locally with:
- `./mach static-analysis check path/to/file.cpp` (C/C++)
If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx
::: dom/base/DOMMatrix.h:31
(Diff revision 1)
> struct DOMPointInit;
>
> class DOMMatrixReadOnly : public nsWrapperCache
> {
> public:
> - DOMMatrixReadOnly(nsISupports* aParent, bool aIsServo)
> + DOMMatrixReadOnly(nsISupports* aParent)
Error: Bad implicit conversion constructor for 'dommatrixreadonly' [clang-tidy: mozilla-implicit-constructor]
::: dom/base/DOMMatrix.h:31
(Diff revision 1)
> struct DOMPointInit;
>
> class DOMMatrixReadOnly : public nsWrapperCache
> {
> public:
> - DOMMatrixReadOnly(nsISupports* aParent, bool aIsServo)
> + DOMMatrixReadOnly(nsISupports* aParent)
Error: Bad implicit conversion constructor for 'dommatrixreadonly' [clang-tidy: mozilla-implicit-constructor]
::: dom/base/DOMMatrix.h:158
(Diff revision 1)
> };
>
> class DOMMatrix : public DOMMatrixReadOnly
> {
> public:
> - DOMMatrix(nsISupports* aParent, bool aIsServo)
> + DOMMatrix(nsISupports* aParent)
Error: Bad implicit conversion constructor for 'dommatrix' [clang-tidy: mozilla-implicit-constructor]
::: dom/base/DOMMatrix.h:158
(Diff revision 1)
> };
>
> class DOMMatrix : public DOMMatrixReadOnly
> {
> public:
> - DOMMatrix(nsISupports* aParent, bool aIsServo)
> + DOMMatrix(nsISupports* aParent)
Error: Bad implicit conversion constructor for 'dommatrix' [clang-tidy: mozilla-implicit-constructor]
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8962183 [details]
Bug 1448690: Remove IsStyledByServo.
https://reviewboard.mozilla.org/r/231026/#review236440
> Error: Bad implicit conversion constructor for 'dommatrixreadonly' [clang-tidy: mozilla-implicit-constructor]
As you are remiving the only other parameter here, you need to add `explicit` here to satisify the linter.
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8962183 [details]
Bug 1448690: Remove IsStyledByServo.
https://reviewboard.mozilla.org/r/231026/#review236454
::: dom/base/WebKitCSSMatrix.h:18
(Diff revision 2)
> namespace dom {
>
> class WebKitCSSMatrix final : public DOMMatrix
> {
> public:
> - WebKitCSSMatrix(nsISupports* aParent, bool aIsServo)
> + WebKitCSSMatrix(nsISupports* aParent)
`explicit`
::: dom/base/nsINode.h
(Diff revision 2)
> - * Returns true if this is a node belonging to a document that uses the Servo
> - * style system.
> - */
> - bool IsStyledByServo() const;
> -
> - inline void UnsetRestyleFlagsIfGecko();
It seems this removal should belong to bug 1448688 rather than here.
Attachment #8962183 -
Flags: review?(xidorn+moz) → review+
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b84db00d7fd9
Remove IsStyledByServo. r=xidorn
Comment 7•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•