RESOLVED FIXED 71760
[chromium] Remove 6 exit time destructors and 6 static initializers
https://bugs.webkit.org/show_bug.cgi?id=71760
Summary [chromium] Remove 6 exit time destructors and 6 static initializers
Nico Weber
Reported 2011-11-07 19:03:29 PST
[chromium] Remove 6 exit time destructors and 6 static initializers
Attachments
Patch (18.22 KB, patch)
2011-11-07 19:05 PST, Nico Weber
no flags
Patch (18.25 KB, patch)
2011-11-07 19:23 PST, Nico Weber
no flags
Patch (18.25 KB, patch)
2011-11-07 19:38 PST, Nico Weber
no flags
Patch for landing (18.20 KB, patch)
2011-11-08 08:50 PST, Nico Weber
no flags
Nico Weber
Comment 1 2011-11-07 19:05:09 PST
WebKit Review Bot
Comment 2 2011-11-07 19:20:16 PST
Comment on attachment 113976 [details] Patch Attachment 113976 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10338847
Nico Weber
Comment 3 2011-11-07 19:23:20 PST
WebKit Review Bot
Comment 4 2011-11-07 19:37:06 PST
Comment on attachment 113980 [details] Patch Attachment 113980 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10333909
Nico Weber
Comment 5 2011-11-07 19:38:23 PST
Nico Weber
Comment 6 2011-11-07 20:31:41 PST
See http://crbug.com/101600 for the tracking bug. andersca did this for mac webkit in wk issue 69586.
Nate Chapin
Comment 7 2011-11-08 08:29:06 PST
Comment on attachment 113981 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=113981&action=review r+ with nits. > Source/WebCore/bindings/v8/ScriptGCEvent.cpp:41 > #include <wtf/CurrentTime.h> > > + > namespace WebCore { Spurious newline? > Source/WebCore/bindings/v8/ScriptGCEvent.cpp:45 > -ScriptGCEvent::GCEventListeners ScriptGCEvent::s_eventListeners; > +typedef Vector<ScriptGCEventListener*> GCEventListeners; > +static GCEventListeners& sEventListeners() > +{ No need for the leading 's' in the function name. > Source/WebCore/bindings/v8/V8Proxy.cpp:774 > + > +const V8Extensions& V8Proxy::extensions() > +{ > + return staticExtensionsList(); > } Can we combine this and staticExtensionsList()?
Nico Weber
Comment 8 2011-11-08 08:50:01 PST
Comment on attachment 113981 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=113981&action=review Thanks! >> Source/WebCore/bindings/v8/ScriptGCEvent.cpp:41 >> namespace WebCore { > > Spurious newline? Fixed. >> Source/WebCore/bindings/v8/ScriptGCEvent.cpp:45 >> +{ > > No need for the leading 's' in the function name. Fixed. >> Source/WebCore/bindings/v8/V8Proxy.cpp:774 >> } > > Can we combine this and staticExtensionsList()? Not easily: This function returns a const reference, but in some places in this function, a non-const reference is needed.
Nico Weber
Comment 9 2011-11-08 08:50:25 PST
Created attachment 114084 [details] Patch for landing
WebKit Review Bot
Comment 10 2011-11-08 10:20:35 PST
Comment on attachment 114084 [details] Patch for landing Clearing flags on attachment: 114084 Committed r99588: <http://trac.webkit.org/changeset/99588>
WebKit Review Bot
Comment 11 2011-11-08 10:20:40 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.