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

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

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.cpp
diff --git a/Source/WebCore/bindings/v8/ScheduledAction.cpp b/Source/WebCore/bindings/v8/V8ScheduledAction.cpp
similarity index 91%
rename from Source/WebCore/bindings/v8/ScheduledAction.cpp
rename to Source/WebCore/bindings/v8/V8ScheduledAction.cpp
index 45cf7a088da2ff5ef13fc38675bb5e984d631797..a59c002377d38082c697e8d7ad7f13a62e49c78e 100644
--- a/Source/WebCore/bindings/v8/ScheduledAction.cpp
+++ b/Source/WebCore/bindings/v8/V8ScheduledAction.cpp
@@ -29,7 +29,7 @@
*/
#include "config.h"
-#include "ScheduledAction.h"
+#include "V8ScheduledAction.h"
#include "Document.h"
#include "ScriptExecutionContext.h"
@@ -47,7 +47,7 @@
namespace WebCore {
-ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8::Function> func, int argc, v8::Handle<v8::Value> argv[])
+V8ScheduledAction::V8ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8::Function> func, int argc, v8::Handle<v8::Value> argv[])
: m_context(context)
, m_code(String(), KURL(), TextPosition::belowRangePosition())
{
@@ -71,7 +71,7 @@ ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8:
m_argv = 0;
}
-ScheduledAction::~ScheduledAction()
+V8ScheduledAction::~V8ScheduledAction()
{
if (m_function.IsEmpty())
return;
@@ -92,7 +92,7 @@ ScheduledAction::~ScheduledAction()
delete[] m_argv;
}
-void ScheduledAction::execute(ScriptExecutionContext* context)
+void V8ScheduledAction::execute(ScriptExecutionContext* context)
{
V8Proxy* proxy = V8Proxy::retrieve(context);
if (proxy)
@@ -105,7 +105,7 @@ void ScheduledAction::execute(ScriptExecutionContext* context)
// nor a WorkerContext. Do nothing in that case.
}
-void ScheduledAction::execute(V8Proxy* proxy)
+void V8ScheduledAction::execute(V8Proxy* proxy)
{
ASSERT(proxy);
@@ -115,7 +115,7 @@ void ScheduledAction::execute(V8Proxy* proxy)
return; // JS may not be enabled.
#if PLATFORM(CHROMIUM)
- TRACE_EVENT("ScheduledAction::execute", this, 0);
+ TRACE_EVENT("V8ScheduledAction::execute", this, 0);
#endif
v8::Context::Scope scope(v8Context);
@@ -131,7 +131,7 @@ void ScheduledAction::execute(V8Proxy* proxy)
}
#if ENABLE(WORKERS)
-void ScheduledAction::execute(WorkerContext* workerContext)
+void V8ScheduledAction::execute(WorkerContext* workerContext)
{
// In a Worker, the execution should always happen on a worker thread.
ASSERT(workerContext->thread()->threadID() == currentThread());

Powered by Google App Engine
This is Rietveld 408576698