2009-03-19 Dimitri Glazkov <dglazkov@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Mar 2009 19:56:39 +0000 (19:56 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Mar 2009 19:56:39 +0000 (19:56 +0000)
        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=24702
        Upstream miscellaneous bindings changes.

        * bindings/v8/ScheduledAction.cpp:
        (WebCore::ScheduledAction::execute): Changed to call lower-case evaluate.
        * bindings/v8/ScriptCallStack.h: Added an extra include.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41841 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bindings/v8/ScheduledAction.cpp
WebCore/bindings/v8/ScriptCallStack.h

index 2861610..46574c7 100644 (file)
@@ -1,3 +1,14 @@
+2009-03-19  Dimitri Glazkov  <dglazkov@chromium.org>
+
+        Reviewed by Darin Fisher.
+
+        https://bugs.webkit.org/show_bug.cgi?id=24702
+        Upstream miscellaneous bindings changes.
+
+        * bindings/v8/ScheduledAction.cpp:
+        (WebCore::ScheduledAction::execute): Changed to call lower-case evaluate.
+        * bindings/v8/ScriptCallStack.h: Added an extra include.
+
 2009-03-19  Simon Fraser  <simon.fraser@apple.com>
 
         Reviewed by Dave Hyatt
index 1322136..7c71d00 100644 (file)
@@ -103,7 +103,7 @@ void ScheduledAction::execute(ScriptExecutionContext* context)
     if (!m_function.IsEmpty() && m_function->IsFunction())
         proxy->CallFunction(v8::Persistent<v8::Function>::Cast(m_function), v8Context->Global(), m_argc, m_argv);
     else
-        proxy->Evaluate(m_code.url(), m_code.startLine() - 1, m_code.source(), 0);
+        proxy->evaluate(m_code, 0);
 
     if (context->isDocument())
         static_cast<Document*>(context)->updateRendering();
index 3123e8b..2dfd484 100644 (file)
@@ -32,6 +32,7 @@
 #define ScriptCallStack_h
 
 #include "ScriptCallFrame.h"
+#include "ScriptState.h"
 #include "ScriptValue.h"
 #include <wtf/Noncopyable.h>