Closed Bug 568382 Opened 10 years ago Closed 10 years ago

[OOPP] nsObjectFrame shouldn't invoke Paint code if clip is of size 0

Categories

(Core :: Plug-ins, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta1+

People

(Reporter: BenWa, Assigned: BenWa)

References

Details

Attachments

(1 file)

We are invoking the painting code when the clip is of size 0. This causes OOP Flash CoreGraphics to stop rendering. We should avoid calling the painting code at all under this circumstances for better performance to save on IPC messages.
Attachment #447700 - Flags: review?(roc)
Comment on attachment 447700 [details] [diff] [review]
Don't paint with empty clip + Fix compile warning.

Use clipPixels.IsEmpty() instead
Attachment #447700 - Flags: review?(roc) → review+
Blocks: 567265
Pushed to mozilla-central:
http://hg.mozilla.org/mozilla-central/rev/6599ff0c9981
Assignee: nobody → b56girard
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.