aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2015-02-13 05:45:06 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2015-02-13 05:53:22 +0900
commitdbb0f49bc79d90147c398406668ace4db6d5b6d5 (patch)
tree4bc1eea5c8546424666560014386ebd546151fd3 /components/script/dom/bindings/codegen/CodegenRust.py
parent552a418a33442ef63839e8ea3c5bd25c4aac7833 (diff)
downloadservo-dbb0f49bc79d90147c398406668ace4db6d5b6d5.tar.gz
servo-dbb0f49bc79d90147c398406668ace4db6d5b6d5.zip
DOMRefCell<T>.is_mutably_borrowed() should return the state correctly.
This method returned the result of `RefCell<T>.try_borrow().is_some()`. But it meant whether the state **is not** BorrowState::Writing. This wrong is introduced by [1], Before it revision, this method had returned whether the state is BorrowState::Writing or not. This doesn't change callers of this method because git blames ([3], [4]) says that the caller is introduced by [2] and [2] is introduced before [1]. [1]: https://github.com/servo/servo/commit/86d609abaf7bf980a55916b90add2795cc11bf17 [2]: https://github.com/servo/servo/commit/49234484d6539a4d8df8374a9548c2004b8e68b7 [3]: https://github.com/servo/servo/blame/2cc08f289ab909de44fa09a07b2c43b70ce379b9/components/script/dom/servohtmlparser.rs [4]: https://github.com/servo/servo/blame/a7e29939a1df679bd865573dc71f7ba65f0268c4/components/script/dom/bindings/cell.rs
Diffstat (limited to 'components/script/dom/bindings/codegen/CodegenRust.py')
0 files changed, 0 insertions, 0 deletions