Skip to content

Use DOMRefCell in the rest of dom structs. - #3695

Merged
bors-servo merged 2 commits into
servo:masterfrom
tetsuharuohzeki:cell
Oct 16, 2014
Merged

bors-servo merged 2 commits into
servo:masterfrom
tetsuharuohzeki:cell

Conversation

@tetsuharuohzeki

Copy link
Copy Markdown
Contributor

@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/2886

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@tetsuharuohzeki

Copy link
Copy Markdown
Contributor Author

I haven't touched LayoutDataRef yet. I did not concluded whether we should use DOMRefCell<T> for it because LayoutDataRef.borrow_unchecked() returns *const T so we will have to mem::transmute() even if we use DOMRefCell<T>.borrow_for_layout()...

@tetsuharuohzeki

Copy link
Copy Markdown
Contributor Author

@jdm I commented some notes on critic and the above. How do you think about them?

@jdm

jdm commented Oct 16, 2014

Copy link
Copy Markdown
Member

I don't think LayoutDataRef should be modified.

bors-servo pushed a commit that referenced this pull request Oct 16, 2014
@bors-servo bors-servo closed this Oct 16, 2014
@bors-servo
bors-servo merged commit 2bdcc0e into servo:master Oct 16, 2014
@tetsuharuohzeki
tetsuharuohzeki deleted the cell branch October 16, 2014 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants