summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderTextControl.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderTextControl.h')
-rw-r--r--WebCore/rendering/RenderTextControl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/rendering/RenderTextControl.h b/WebCore/rendering/RenderTextControl.h
index b75de0e..0060973 100644
--- a/WebCore/rendering/RenderTextControl.h
+++ b/WebCore/rendering/RenderTextControl.h
@@ -40,8 +40,8 @@ public:
bool lastChangeWasUserEdit() const { return m_lastChangeWasUserEdit; }
void setLastChangeWasUserEdit(bool lastChangeWasUserEdit);
- int selectionStart();
- int selectionEnd();
+ int selectionStart() const;
+ int selectionEnd() const;
PassRefPtr<Range> selection(int start, int end) const;
virtual void subtreeHasChanged();
@@ -49,8 +49,8 @@ public:
String textWithHardLineBreaks();
void selectionChanged(bool userTriggered);
- VisiblePosition visiblePositionForIndex(int index);
- int indexForVisiblePosition(const VisiblePosition&);
+ VisiblePosition visiblePositionForIndex(int index) const;
+ int indexForVisiblePosition(const VisiblePosition&) const;
void updatePlaceholderVisibility(bool, bool);