RESOLVED FIXED 80290
[chromium] Remove old cleanupResources() code
https://bugs.webkit.org/show_bug.cgi?id=80290
Summary [chromium] Remove old cleanupResources() code
Dana Jansens
Reported 2012-03-05 08:06:11 PST
[chromium] Remove old cleanupResources() code
Attachments
Patch (6.46 KB, patch)
2012-03-05 08:08 PST, Dana Jansens
no flags
Dana Jansens
Comment 1 2012-03-05 08:08:39 PST
Dana Jansens
Comment 2 2012-03-05 08:18:24 PST
cleanupResources() is called from destructors, primarily to call cleanupResources on the layer's RenderSurface. That surface is held by an OwnPtr, so its destructor will be called anyways. And RS::cleanupResources is used to clear OwnPtrs within the surface. Basically, this function is redundant with destructors now, though I imagine it served some larger purpose in the past, which has been solved with OwnPtrs now.
Adrienne Walker
Comment 3 2012-03-05 10:48:16 PST
Comment on attachment 130139 [details] Patch Nice cleanup! :)
WebKit Review Bot
Comment 4 2012-03-05 12:05:59 PST
Comment on attachment 130139 [details] Patch Clearing flags on attachment: 130139 Committed r109781: <http://trac.webkit.org/changeset/109781>
WebKit Review Bot
Comment 5 2012-03-05 12:06:03 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.