Summary: | [Qt] Build fails after r94920 with strict compiler | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andras Becsi <abecsi> | ||||||
Component: | Tools / Tests | Assignee: | Andras Becsi <abecsi> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cmarcelo, ossy | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 43191 | ||||||||
Attachments: |
|
Description
Andras Becsi
2011-09-12 03:56:04 PDT
Created attachment 107036 [details]
proposed fix
LGTM, although I'm not a reviewer. New Red Black tree is based on PODRedBlackTree.h. The 'updateStart' variable was used to call 'updateNode' on the ascendants of the topmost updated node. The new one (RedBlackTree.h) doesn't have this functionality, so it is OK to remove. Comment on attachment 107036 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=107036&action=review Ops. Doesn't LGTM yet :P > Source/JavaScriptCore/wtf/RedBlackTree.h:-196 > - Node* newSubTreeRoot = rightRotate(x->parent()->parent()); You need to keep this rightRotate, just ignore the return value. > Source/JavaScriptCore/wtf/RedBlackTree.h:-218 > - Node* newSubTreeRoot = leftRotate(x->parent()->parent()); You need to keep this leftRotate, just ignore the return value. Created attachment 107043 [details]
proposed patch
Comment on attachment 107043 [details]
proposed patch
LGTM, r=me. ( But cq-, because commit queue still doesn't like my name :( )
Committed r94954: <http://trac.webkit.org/changeset/94954> Comment on attachment 107043 [details]
proposed patch
Clearing flags from landed patch.
|