Commit 12aadcea authored by dglazkov@chromium.org's avatar dglazkov@chromium.org
Browse files

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.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bb710c2c
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
......@@ -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();
......
......@@ -32,6 +32,7 @@
#define ScriptCallStack_h
#include "ScriptCallFrame.h"
#include "ScriptState.h"
#include "ScriptValue.h"
#include <wtf/Noncopyable.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment