зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1517742 - Update webrender to commit e8ef39b4499aa93e008a25e851c01f4dff36b301 (WR PR #3470). r=kats
https://github.com/servo/webrender/pull/3470 Differential Revision: https://phabricator.services.mozilla.com/D15735 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
177e762bb0
Коммит
ff902c922f
|
@ -1 +1 @@
|
|||
12250134e710e8a0435b1b678fa4fb056e11fecc
|
||||
e8ef39b4499aa93e008a25e851c01f4dff36b301
|
||||
|
|
|
@ -534,6 +534,10 @@ impl<'a> RawtestHarness<'a> {
|
|||
assert!(pixels_first != pixels_second);
|
||||
|
||||
// cleanup
|
||||
txn = Transaction::new();
|
||||
txn.delete_blob_image(blob_img);
|
||||
self.wrench.api.update_resources(txn.resource_updates);
|
||||
|
||||
*self.wrench.callbacks.lock().unwrap() = blob::BlobCallbacks::new();
|
||||
}
|
||||
|
||||
|
@ -662,6 +666,11 @@ impl<'a> RawtestHarness<'a> {
|
|||
assert_eq!(img2_requested.load(Ordering::SeqCst), 2);
|
||||
|
||||
// cleanup
|
||||
txn = Transaction::new();
|
||||
txn.delete_blob_image(blob_img);
|
||||
txn.delete_blob_image(blob_img2);
|
||||
self.wrench.api.update_resources(txn.resource_updates);
|
||||
|
||||
*self.wrench.callbacks.lock().unwrap() = blob::BlobCallbacks::new();
|
||||
}
|
||||
|
||||
|
@ -760,6 +769,11 @@ impl<'a> RawtestHarness<'a> {
|
|||
|
||||
assert!(pixels_first == pixels_second);
|
||||
assert!(pixels_first != pixels_third);
|
||||
|
||||
// cleanup
|
||||
txn = Transaction::new();
|
||||
txn.delete_blob_image(blob_img);
|
||||
self.wrench.api.update_resources(txn.resource_updates);
|
||||
}
|
||||
|
||||
// Ensures that content doing a save-restore produces the same results as not
|
||||
|
|
Загрузка…
Ссылка в новой задаче