Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug-only dynamic checks for layout and GC use of DOMRefCell #3797

Merged
merged 6 commits into from Oct 25, 2014

Fix a layout method to use borrow_for_layout()

  • Loading branch information
kmcallister committed Oct 24, 2014
commit 0162214b1fce3787bb08118790fc4d59d8528306
@@ -90,7 +90,7 @@ pub trait LayoutHTMLImageElementHelpers {

impl LayoutHTMLImageElementHelpers for JS<HTMLImageElement> {
unsafe fn image(&self) -> Option<Url> {
(*self.unsafe_get()).image.borrow().clone()
(*self.unsafe_get()).image.borrow_for_layout().clone()
}
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.