REGRESSION(r169105): fast/regions/cssom/region-range-for-box-crash.html is more crash...
[WebKit-https.git] / Source / WebCore / rendering / SelectionSubtreeRoot.h
index aa4cd0c..35cef11 100644 (file)
@@ -45,7 +45,12 @@ public:
     int selectionStartPos() const { return m_selectionStartPos; }
     RenderObject* selectionEnd() const { return m_selectionEnd; }
     int selectionEndPos() const { return m_selectionEndPos; }
-    void selectionStartEndPositions(int& startPos, int& endPos) const;
+    void selectionStartEndPositions(int& startPos, int& endPos) const
+    {
+        startPos = m_selectionStartPos;
+        endPos = m_selectionEndPos;
+    }
+
     bool selectionClear() const
     {
         return !m_selectionStart