зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1579401. wr-blob: Merge if condition. r=nical
No need to check twice and this will make it cleaner when we change the condition. Differential Revision: https://phabricator.services.mozilla.com/D44994 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a8f4386427
Коммит
76625b1eb6
|
@ -794,11 +794,6 @@ struct DIGroup {
|
|||
if (!mInvalidRect.Contains(bounds)) {
|
||||
GP("Passing\n");
|
||||
dirty = false;
|
||||
}
|
||||
|
||||
if (mInvalidRect.Contains(bounds)) {
|
||||
GP("Wholely contained\n");
|
||||
} else {
|
||||
BlobItemData* data = GetBlobItemData(item);
|
||||
if (data->mInvalid) {
|
||||
if (item->GetType() == DisplayItemType::TYPE_TRANSFORM) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче