Bug 110292 - [CSS Grid Layout] Should we add a RAII class to populate and clear the grid representation?
Summary: [CSS Grid Layout] Should we add a RAII class to populate and clear the grid r...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 60731
  Show dependency treegraph
 
Reported: 2013-02-19 19:15 PST by Julien Chaffraix
Modified: 2017-07-18 08:27 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2013-02-19 19:15:03 PST
See bug 109718, comment #5 about the whole details.

We manually fill and clear our grid representation for each layout / compute preferred logical width phase. As there are several places and 2 varaibles to clear it may make sense to have some RAII pattern to handle the cleaning.

As raised in the other, I think it may be an overkill now but if the code changes we should definitely consider it.