~ubuntu-branches/ubuntu/karmic/webkit/karmic-proposed

« back to all changes in this revision

Viewing changes to WebCore/bindings/js/JSTreeWalkerCustom.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-05-15 18:30:58 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090515183058-50q5exjo9b1kxy9s
Tags: 1.1.7-1
* New upstream release
* debian/libwebkit-1.0-2.symbols:
- updated with the new symbols in 1.1.7
* debian/libwebkit-dev.install, debian/libwebkit-dev.links,
  debian/rules:
- Build, and ship gtk-doc documentation (Closes: #526683)
* debian/copyright:
- updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    DOMObject::mark();
38
38
}
39
39
    
40
 
JSValuePtr JSTreeWalker::parentNode(ExecState* exec, const ArgList&)
 
40
JSValue JSTreeWalker::parentNode(ExecState* exec, const ArgList&)
41
41
{
42
42
    Node* node = impl()->parentNode(exec);
43
43
    if (exec->hadException())
45
45
    return toJS(exec, node);
46
46
}
47
47
    
48
 
JSValuePtr JSTreeWalker::firstChild(ExecState* exec, const ArgList&)
 
48
JSValue JSTreeWalker::firstChild(ExecState* exec, const ArgList&)
49
49
{
50
50
    Node* node = impl()->firstChild(exec);
51
51
    if (exec->hadException())
53
53
    return toJS(exec, node);
54
54
}
55
55
    
56
 
JSValuePtr JSTreeWalker::lastChild(ExecState* exec, const ArgList&)
 
56
JSValue JSTreeWalker::lastChild(ExecState* exec, const ArgList&)
57
57
{
58
58
    Node* node = impl()->lastChild(exec);
59
59
    if (exec->hadException())
61
61
    return toJS(exec, node);
62
62
}
63
63
    
64
 
JSValuePtr JSTreeWalker::nextSibling(ExecState* exec, const ArgList&)
 
64
JSValue JSTreeWalker::nextSibling(ExecState* exec, const ArgList&)
65
65
{
66
66
    Node* node = impl()->nextSibling(exec);
67
67
    if (exec->hadException())
69
69
    return toJS(exec, node);
70
70
}
71
71
    
72
 
JSValuePtr JSTreeWalker::previousSibling(ExecState* exec, const ArgList&)
 
72
JSValue JSTreeWalker::previousSibling(ExecState* exec, const ArgList&)
73
73
{
74
74
    Node* node = impl()->previousSibling(exec);
75
75
    if (exec->hadException())
77
77
    return toJS(exec, node);
78
78
}
79
79
    
80
 
JSValuePtr JSTreeWalker::previousNode(ExecState* exec, const ArgList&)
 
80
JSValue JSTreeWalker::previousNode(ExecState* exec, const ArgList&)
81
81
{
82
82
    Node* node = impl()->previousNode(exec);
83
83
    if (exec->hadException())
85
85
    return toJS(exec, node);
86
86
}
87
87
    
88
 
JSValuePtr JSTreeWalker::nextNode(ExecState* exec, const ArgList&)
 
88
JSValue JSTreeWalker::nextNode(ExecState* exec, const ArgList&)
89
89
{
90
90
    Node* node = impl()->nextNode(exec);
91
91
    if (exec->hadException())