Summary: | Make sure we aren't throttling plugin timers during initialisation and destruction | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> | ||||||
Component: | New Bugs | Assignee: | Oliver Hunt <oliver> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abecsi, cdumez, cmarcelo, commit-queue, gtk-ews, gyuyoung.kim, menard, philn, rakuco, rego+ews, xan.lopez | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Oliver Hunt
2013-06-11 14:56:34 PDT
Created attachment 204362 [details]
Patch
Comment on attachment 204362 [details] Patch Attachment 204362 [details] did not pass gtk-wk2-ews (gtk-wk2): Output: http://webkit-queues.appspot.com/results/789464 Comment on attachment 204362 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=204362&action=review > Source/WebKit2/Shared/ActivityAssertion.cpp:28 > +#include "config.h" > + > +#include "ActivityAssertion.h" You should not have newline here. > Source/WebKit2/Shared/ActivityAssertion.h:36 > +class ChildProcess; > +class ActivityAssertion { You should have a newline here. > Source/WebKit2/Shared/ActivityAssertion.h:39 > + WTF_MAKE_NONCOPYABLE(ActivityAssertion); > + > +public: You should not have a newline here. > Source/WebKit2/Shared/ActivityAssertion.h:43 > + static PassOwnPtr<ActivityAssertion> create(ChildProcess* process) > + { > + return adoptPtr(new ActivityAssertion(process)); > + } If this is only ever used on the stack, is there any reason to make this use OwnPtr/PassOwnPtr? > Source/WebKit2/Shared/ActivityAssertion.h:50 > + ActivityAssertion(ChildProcess*); > + ChildProcess* m_process; > +}; You should have a newline here. > Source/WebKit2/Shared/ChildProcess.h:82 > + PassOwnPtr<ActivityAssertion> takeActivityAssertion() > + { > + return ActivityAssertion::create(this); > + } > + > + Extra newline. Created attachment 204374 [details]
Patch
Comment on attachment 204374 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=204374&action=review > Source/WebKit2/Shared/ActivityAssertion.h:31 > +#include <wtf/OwnPtr.h> > +#include <wtf/PassOwnPtr.h> Don’t need these any more. Comment on attachment 204374 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=204374&action=review > Source/WebKit2/PluginProcess/WebProcessConnection.cpp:232 > + // Ensure we don't clamp any timers during initialisation "initialisation" is spelled "initialization" in WebKit. > Source/WebKit2/Shared/ActivityAssertion.h:46 > +private: > + ChildProcess& m_process; > + > +}; Extra newline. Committed r151480: <http://trac.webkit.org/changeset/151480> |