summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/InlineTextBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/InlineTextBox.h')
-rw-r--r--WebCore/rendering/InlineTextBox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/rendering/InlineTextBox.h b/WebCore/rendering/InlineTextBox.h
index bc2219b..c97a061 100644
--- a/WebCore/rendering/InlineTextBox.h
+++ b/WebCore/rendering/InlineTextBox.h
@@ -119,7 +119,7 @@ public:
private:
virtual unsigned caretMaxRenderedOffset() const;
- int textPos() const;
+ int textPos() const; // returns the x position relative to the left start of the text line.
public:
virtual int offsetForPosition(int x, bool includePartialGlyphs = true) const;