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:
Jeff Muizelaar 2021-02-02 17:17:50 +00:00
Родитель 605cbc1d49
Коммит 293221bb1d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);