aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-variables-1_dev/html/css-vars-custom-property-inheritance.htm
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-13 15:30:08 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-13 16:50:17 -0400
commit43429abce40d9a87fa271027094a36256909f3ee (patch)
treeca9889c56d64a202bb1e8310b44542de348afdc4 /tests/wpt/css-tests/css-variables-1_dev/html/css-vars-custom-property-inheritance.htm
parent1542a879a544ca4d32256748b1819567a5c3b6fa (diff)
downloadservo-43429abce40d9a87fa271027094a36256909f3ee.tar.gz
servo-43429abce40d9a87fa271027094a36256909f3ee.zip
Avoid marking codegen method bodies as unsafe twice
`CGAbstractMethod` takes a couple boolean parameters, among others: * `extern`: will mark the method as `unsafe` and `extern` * `unsafe`: will wrap the method body in an `unsafe` block Passing both as `True` should not mark it as `unsafe` twice. Example from a generated `HTMLCollectionBinding.rs`: Before: ``` unsafe extern fn get_length(..) -> u8 { unsafe { // code here } } ``` After ``` unsafe extern fn get_length(..) -> u8 { // code here } ```
Diffstat (limited to 'tests/wpt/css-tests/css-variables-1_dev/html/css-vars-custom-property-inheritance.htm')
0 files changed, 0 insertions, 0 deletions