Bug 83728 - Reduce the use of RenderLayer outside of the rendering code
Summary: Reduce the use of RenderLayer outside of the rendering code
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Julien Chaffraix
URL:
Keywords:
Depends on:
Blocks: 83811
  Show dependency treegraph
 
Reported: 2012-04-11 16:06 PDT by Julien Chaffraix
Modified: 2012-04-12 13:17 PDT (History)
10 users (show)

See Also:


Attachments
Proposed refactoring 1: Add 2 helpers functions, remove a third of the use, happily welcome comments on the naming. (25.52 KB, patch)
2012-04-11 16:26 PDT, Julien Chaffraix
no flags Details | Formatted Diff | Diff
Fixed Gtk / Qt by adding RenderObject.h include. One more round for the EWS. (25.64 KB, patch)
2012-04-11 17:43 PDT, Julien Chaffraix
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2012-04-11 16:06:20 PDT
A lot of the code outside rendering/ is talking directly to a RenderLayer where they shouldn't have such a deep knowledge of the rendering objects. This unfortunately propagates some rendering knowledge and assumptions outside the scope of rendering. It also ties our code to relying on RenderLayer for certain operations that reduces the abstraction.
Comment 1 Julien Chaffraix 2012-04-11 16:26:24 PDT
Created attachment 136784 [details]
Proposed refactoring 1: Add 2 helpers functions, remove a third of the use, happily welcome comments on the naming.
Comment 2 Philippe Normand 2012-04-11 17:12:15 PDT
Comment on attachment 136784 [details]
Proposed refactoring 1: Add 2 helpers functions, remove a third of the use, happily welcome comments on the naming.

Attachment 136784 [details] did not pass gtk-ews (gtk):
Output: http://queues.webkit.org/results/12390125
Comment 3 Early Warning System Bot 2012-04-11 17:35:13 PDT
Comment on attachment 136784 [details]
Proposed refactoring 1: Add 2 helpers functions, remove a third of the use, happily welcome comments on the naming.

Attachment 136784 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/12389211
Comment 4 Julien Chaffraix 2012-04-11 17:43:50 PDT
Created attachment 136799 [details]
Fixed Gtk / Qt by adding RenderObject.h include. One more round for the EWS.
Comment 5 WebKit Review Bot 2012-04-12 09:02:42 PDT
Comment on attachment 136799 [details]
Fixed Gtk / Qt by adding RenderObject.h include. One more round for the EWS.

Clearing flags on attachment: 136799

Committed r113990: <http://trac.webkit.org/changeset/113990>
Comment 6 WebKit Review Bot 2012-04-12 09:02:48 PDT
All reviewed patches have been landed.  Closing bug.