summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/AppendNodeCommand.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
commit635860845790a19bf50bbc51ba8fb66a96dde068 (patch)
treeef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/editing/AppendNodeCommand.h
parent8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff)
downloadexternal_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip
external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz
external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebCore/editing/AppendNodeCommand.h')
-rw-r--r--WebCore/editing/AppendNodeCommand.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/editing/AppendNodeCommand.h b/WebCore/editing/AppendNodeCommand.h
index 3210512..5ffb881 100644
--- a/WebCore/editing/AppendNodeCommand.h
+++ b/WebCore/editing/AppendNodeCommand.h
@@ -32,19 +32,19 @@ namespace WebCore {
class AppendNodeCommand : public SimpleEditCommand {
public:
- static PassRefPtr<AppendNodeCommand> create(PassRefPtr<Node> parentNode, PassRefPtr<Node> childToAppend)
+ static PassRefPtr<AppendNodeCommand> create(PassRefPtr<Element> parent, PassRefPtr<Node> node)
{
- return adoptRef(new AppendNodeCommand(parentNode, childToAppend));
+ return adoptRef(new AppendNodeCommand(parent, node));
}
private:
- AppendNodeCommand(PassRefPtr<Node> parentNode, PassRefPtr<Node> childToAppend);
+ AppendNodeCommand(PassRefPtr<Element> parent, PassRefPtr<Node> node);
virtual void doApply();
virtual void doUnapply();
- RefPtr<Node> m_parentNode;
- RefPtr<Node> m_childToAppend;
+ RefPtr<Element> m_parent;
+ RefPtr<Node> m_node;
};
} // namespace WebCore