зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1690319 - Remove integer comparison workaround in fetch_clip_area. r=mstange
This removes the workaround from https://github.com/servo/webrender/pull/2864 The root cause of that has been identified as bug 1690027. Differential Revision: https://phabricator.services.mozilla.com/D103797
This commit is contained in:
Родитель
605cbc1d49
Коммит
293221bb1d
|
@ -98,7 +98,7 @@ struct ClipArea {
|
|||
ClipArea fetch_clip_area(int index) {
|
||||
ClipArea area;
|
||||
|
||||
if (index >= CLIP_TASK_EMPTY) {
|
||||
if (index == CLIP_TASK_EMPTY) {
|
||||
RectWithSize rect = RectWithSize(vec2(0.0), vec2(0.0));
|
||||
|
||||
area.common_data = RenderTaskCommonData(rect, 0.0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче