Simple line layout should not be limited to RenderText.
[WebKit-https.git] / Source / WebCore / rendering / SimpleLineLayoutResolver.h
index 7f1787e..0359901 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "LayoutRect.h"
 #include "RenderBlockFlow.h"
-#include "RenderText.h"
 #include "SimpleLineLayoutFlowContents.h"
 #include "SimpleLineLayoutFunctions.h"
 #include <wtf/Vector.h>
@@ -101,7 +100,7 @@ public:
     Iterator end() const;
 
     Range<Iterator> rangeForRect(const LayoutRect&) const;
-    Range<Iterator> rangeForRenderer(const RenderText&) const;
+    Range<Iterator> rangeForRenderer(const RenderObject&) const;
 
 private:
     enum class IndexType { First, Last };