style: Share user agent cascade data across documents.

MozReview-Commit-ID: KcyuTHD0bt9
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
Emilio Cobos Álvarez 2017-09-14 17:38:03 +02:00
parent 985c6193eb
commit cb31e782aa
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 326 additions and 118 deletions

View file

@ -337,7 +337,7 @@ impl<T: ?Sized> Arc<T> {
}
#[inline]
fn is_unique(&self) -> bool {
pub fn is_unique(&self) -> bool {
// We can use Relaxed here, but the justification is a bit subtle.
//
// The reason to use Acquire would be to synchronize with other threads