[V8] ScheduledAction is ugly and needs a cleanup
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2012 17:51:26 +0000 (17:51 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2012 17:51:26 +0000 (17:51 +0000)
commitc6cee0d9f1478df1bc8aa443ecbca3786699dc30
treeb9fdf84c13f71e3f865bc4deb6c00a64b1b6bbca
parent0b5844269944cd33dc1ee4b861f43513631af00f
[V8] ScheduledAction is ugly and needs a cleanup
https://bugs.webkit.org/show_bug.cgi?id=94784

Reviewed by Eric Seidel.

This patch updates ScheduledAction to use modern WebKit machinery, like
OwnHandle and Vector.

* bindings/v8/OwnHandle.h:
(OwnHandle):
* bindings/v8/ScheduledAction.cpp:
(WebCore::ScheduledAction::ScheduledAction):
(WebCore::ScheduledAction::~ScheduledAction):
(WebCore::ScheduledAction::execute):
* bindings/v8/ScheduledAction.h:
(WebCore):
(ScheduledAction):
(WebCore::ScheduledAction::ScheduledAction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/v8/OwnHandle.h
Source/WebCore/bindings/v8/ScheduledAction.cpp
Source/WebCore/bindings/v8/ScheduledAction.h