Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: Source/WebCore/bindings/v8/V8ScheduledAction.h

Issue 8806015: Changes to support a second VM. (Closed) Base URL: svn://svn.chromium.org/dash/experimental/chrome/src/webkit-full
Patch Set: . Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/bindings/v8/V8ScheduledAction.h
diff --git a/Source/WebCore/bindings/v8/ScheduledAction.h b/Source/WebCore/bindings/v8/V8ScheduledAction.h
similarity index 83%
rename from Source/WebCore/bindings/v8/ScheduledAction.h
rename to Source/WebCore/bindings/v8/V8ScheduledAction.h
index aefe7efa2feb2a86673fe6a7a5f51408377573c1..91c3085e34b1d12232860e214fb56a6e19a60a55 100644
--- a/Source/WebCore/bindings/v8/ScheduledAction.h
+++ b/Source/WebCore/bindings/v8/V8ScheduledAction.h
@@ -28,10 +28,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ScheduledAction_h
-#define ScheduledAction_h
+#ifndef V8ScheduledAction_h
+#define V8ScheduledAction_h
#include "OwnHandle.h"
+#include "ScheduledAction.h"
#include "ScriptSourceCode.h"
#include "V8GCController.h"
#include <wtf/Forward.h>
@@ -44,10 +45,10 @@ namespace WebCore {
class V8Proxy;
class WorkerContext;
- class ScheduledAction {
+ class V8ScheduledAction : public ScheduledAction {
public:
- ScheduledAction(v8::Handle<v8::Context>, v8::Handle<v8::Function>, int argc, v8::Handle<v8::Value> argv[]);
- explicit ScheduledAction(v8::Handle<v8::Context> context, const WTF::String& code, const KURL& url = KURL())
+ V8ScheduledAction(v8::Handle<v8::Context>, v8::Handle<v8::Function>, int argc, v8::Handle<v8::Value> argv[]);
+ explicit V8ScheduledAction(v8::Handle<v8::Context> context, const WTF::String& code, const KURL& url = KURL())
: m_context(context)
, m_argc(0)
, m_argv(0)
@@ -55,7 +56,7 @@ namespace WebCore {
{
}
- virtual ~ScheduledAction();
+ virtual ~V8ScheduledAction();
virtual void execute(ScriptExecutionContext*);
private:
@@ -73,4 +74,4 @@ namespace WebCore {
} // namespace WebCore
-#endif // ScheduledAction
+#endif // V8ScheduledAction_h

Powered by Google App Engine
This is Rietveld 408576698