Bug 60963 - [Qt][AC] Avoid double QGraphicsItem::update() when flushing HTMLContentType.
Summary: [Qt][AC] Avoid double QGraphicsItem::update() when flushing HTMLContentType.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2011-05-17 08:51 PDT by Andreas Kling
Modified: 2011-05-17 09:51 PDT (History)
0 users

See Also:


Attachments
Proposed patch (1.49 KB, patch)
2011-05-17 08:53 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2011-05-17 08:51:57 PDT
In GraphicsLayerQtImpl::flushChanges(), we may call QGraphicsItem::update() twice if the pending content type is HTMLContentType. We should avoid that.
Comment 1 Andreas Kling 2011-05-17 08:53:09 PDT
Created attachment 93774 [details]
Proposed patch
Comment 2 Andreas Kling 2011-05-17 09:51:15 PDT
D'oh. There was already a pending patch doing this.