Currently we flush unconditionally.
Created attachment 233698 [details]
Comment on attachment 233698 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=233698&action=review
> + auto rect = enclosingIntRect(exposedContentRect);
> + if (frameView->exposedContentRect() == rect)
> + return;
This makes assumptions about how FrameView does rounding. Maybe setExposedContentRect() should instead return a bool?
> This makes assumptions about how FrameView does rounding. Maybe setExposedContentRect() should instead return a bool?
There is currently no rounding (these were just switched to FloatRect) and it is generally reasonable to expect getters and setters to pair. The setter should probably be renamed if it starts rounding.
Landed and didn't backed out:
Marking this as "RESOLVED FIXED".