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

Slightly clean up the final URL creation in canvas.toDataURL #21850

Merged
merged 7 commits into from Oct 3, 2018

Implement JSTraceable for Size2D<u32>

  • Loading branch information
nox committed Oct 2, 2018
commit b8dbf2dddd88516f85370c49015133435750003d
@@ -622,6 +622,13 @@ unsafe impl<U> JSTraceable for TypedSize2D<f32, U> {
}
}

unsafe impl<U> JSTraceable for TypedSize2D<u32, U> {
#[inline]
unsafe fn trace(&self, _trc: *mut JSTracer) {
// Do nothing
}
}

unsafe impl JSTraceable for StyleLocked<FontFaceRule> {
unsafe fn trace(&self, _trc: *mut JSTracer) {
// Do nothing.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.