Simple line layout should not be limited to RenderText.
[WebKit-https.git] / Source / WebCore / rendering / SimpleLineLayoutFlowContents.h
index 4575bd6..1fc3479 100644 (file)
@@ -41,10 +41,10 @@ public:
         unsigned start;
         unsigned end;
         String text;
-        const RenderText& renderer;
+        const RenderObject& renderer;
     };
     const Segment& segmentForPosition(unsigned) const;
-    const Segment& segmentForRenderer(const RenderText&) const;
+    const Segment& segmentForRenderer(const RenderObject&) const;
 
     class Iterator {
     public: