servo/components/style_derive/Cargo.toml
author Masayuki Nakano <masayuki@d-toybox.com>
Wed, 01 Aug 2018 21:11:44 +0900
changeset 487713 702671b11b7c6fe20898f2ef464d2088a14c60f1
parent 479549 1ffb899a5f0285ac7b28e382f7009417b640f929
child 508462 29c8ec1559a4b87fab322016d03d76262ac42571
permissions -rw-r--r--
Bug 1480055 - part 3: Create non-virtual method to set EditorBase::mAllowsTransactionsToChangeSelection r=m_kato There is no non-virtual method to modify EditorBase::mAllowsTransactionsToChangeSelection. Therefore, AutoTransactionsConserveSelection calls virtual method, nsIEditor::SetShouldTxnSetSelection() twice (from both constructor and destructor). So, we should save this unnecessary cost. MozReview-Commit-ID: B7TYGnGtuLB

[package]
name = "style_derive"
version = "0.0.1"
authors = ["The Servo Project Developers"]
license = "MPL-2.0"
publish = false

[lib]
path = "lib.rs"
proc-macro = true

[dependencies]
darling = "0.4"
quote = "0.5.1"
syn = { version = "0.13.1", features = ["visit"] }
synstructure = "0.8"