summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/InsertIntoTextNodeCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/editing/InsertIntoTextNodeCommand.h')
-rw-r--r--WebCore/editing/InsertIntoTextNodeCommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/editing/InsertIntoTextNodeCommand.h b/WebCore/editing/InsertIntoTextNodeCommand.h
index aed5da8..49cb58b 100644
--- a/WebCore/editing/InsertIntoTextNodeCommand.h
+++ b/WebCore/editing/InsertIntoTextNodeCommand.h
@@ -34,19 +34,19 @@ class Text;
class InsertIntoTextNodeCommand : public SimpleEditCommand {
public:
- static PassRefPtr<InsertIntoTextNodeCommand> create(PassRefPtr<Text> node, int offset, const String& text)
+ static PassRefPtr<InsertIntoTextNodeCommand> create(PassRefPtr<Text> node, unsigned offset, const String& text)
{
return adoptRef(new InsertIntoTextNodeCommand(node, offset, text));
}
private:
- InsertIntoTextNodeCommand(PassRefPtr<Text> node, int offset, const String& text);
+ InsertIntoTextNodeCommand(PassRefPtr<Text> node, unsigned offset, const String& text);
virtual void doApply();
virtual void doUnapply();
RefPtr<Text> m_node;
- int m_offset;
+ unsigned m_offset;
String m_text;
};