Closed
Bug 1268290
Opened 9 years ago
Closed 9 years ago
stylo: Pass correct stylesheet origin to Servo
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: emilio, Unassigned)
References
Details
Attachments
(1 file, 3 obsolete files)
2.42 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•9 years ago
|
||
Attachment #8746275 -
Flags: review?(bobbyholley)
Comment 2•9 years ago
|
||
Comment on attachment 8746275 [details] [diff] [review]
Proposed patch
Review of attachment 8746275 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/style/ServoBindings.h
@@ +66,5 @@
> //
> // TODO: Make these return already_AddRefed and UniquePtr when the binding
> // generator is smart enough to handle them.
> +RawServoStyleSheet* Servo_StylesheetFromUTF8Bytes(const uint8_t* bytes, uint32_t length,
> + mozilla::css::SheetParsingMode parsing_mode);
Nit: indent this to the open-paren.
Attachment #8746275 -
Flags: review?(bobbyholley) → review+
Reporter | ||
Comment 3•9 years ago
|
||
Attachment #8746275 -
Attachment is obsolete: true
Attachment #8746276 -
Flags: review?(bobbyholley)
Updated•9 years ago
|
Attachment #8746276 -
Flags: review?(bobbyholley) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8746276 [details] [diff] [review]
Patch with nit addressed
Oops - you'll need to fix the stub to prevent compilation from failing on non-stylo builds.
Attachment #8746276 -
Flags: review+ → review-
Reporter | ||
Comment 5•9 years ago
|
||
Attachment #8746276 -
Attachment is obsolete: true
Reporter | ||
Comment 6•9 years ago
|
||
Comment on attachment 8746282 [details] [diff] [review]
Patch with correct function stubbed
Should be good to go.
Attachment #8746282 -
Flags: review?(bobbyholley)
Comment 7•9 years ago
|
||
Comment on attachment 8746282 [details] [diff] [review]
Patch with correct function stubbed
Review of attachment 8746282 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/style/ServoBindings.cpp
@@ +215,4 @@
> }
>
> #include "nsStyleStructList.h"
> +#include "mozilla/css/SheetParsingMode.h"
This isn't needed given that it gets included via ServoBindings.h right?
Attachment #8746282 -
Flags: review?(bobbyholley) → review+
Reporter | ||
Comment 8•9 years ago
|
||
(In reply to Bobby Holley (busy) from comment #7)
> > #include "nsStyleStructList.h"
> > +#include "mozilla/css/SheetParsingMode.h"
>
> This isn't needed given that it gets included via ServoBindings.h right?
Yep, you're right. Also, it was in an uncommon place, removed.
Reporter | ||
Comment 9•9 years ago
|
||
Attachment #8746282 -
Attachment is obsolete: true
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dc4b21ccd9c0
https://hg.mozilla.org/mozilla-central/rev/d928d2fde8c7
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Updated•8 years ago
|
Blocks: stylo-nightly
You need to log in
before you can comment on or make changes to this bug.
Description
•