diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderTextControl.h')
-rw-r--r-- | Source/WebCore/rendering/RenderTextControl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/rendering/RenderTextControl.h b/Source/WebCore/rendering/RenderTextControl.h index 0c30ed6..78b295b 100644 --- a/Source/WebCore/rendering/RenderTextControl.h +++ b/Source/WebCore/rendering/RenderTextControl.h @@ -49,7 +49,7 @@ public: void selectionChanged(bool userTriggered); VisiblePosition visiblePositionForIndex(int index) const; - int indexForVisiblePosition(const VisiblePosition&) const; + static int indexForVisiblePosition(HTMLElement*, const VisiblePosition&); void updatePlaceholderVisibility(bool, bool); @@ -104,7 +104,7 @@ private: bool hasVisibleTextArea() const; friend void setSelectionRange(Node*, int start, int end); - bool isSelectableElement(Node*) const; + static bool isSelectableElement(HTMLElement*, Node*); virtual int textBlockInsetLeft() const = 0; virtual int textBlockInsetRight() const = 0; |