Title: [116202] trunk/Source/WebCore
Revision
116202
Author
[email protected]
Date
2012-05-04 18:43:28 -0700 (Fri, 04 May 2012)

Log Message

Remove InlineBox::next()
https://bugs.webkit.org/show_bug.cgi?id=85668

Reviewed by Nikolas Zimmermann.

InlineBox::next() not needed since nextOnLine() does the same.

* rendering/InlineBox.h:
(InlineBox):
* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::setConstructed):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (116201 => 116202)


--- trunk/Source/WebCore/ChangeLog	2012-05-05 01:28:38 UTC (rev 116201)
+++ trunk/Source/WebCore/ChangeLog	2012-05-05 01:43:28 UTC (rev 116202)
@@ -1,3 +1,17 @@
+2012-05-04  Rob Buis  <[email protected]>
+
+        Remove InlineBox::next()
+        https://bugs.webkit.org/show_bug.cgi?id=85668
+
+        Reviewed by Nikolas Zimmermann.
+
+        InlineBox::next() not needed since nextOnLine() does the same.
+
+        * rendering/InlineBox.h:
+        (InlineBox):
+        * rendering/InlineFlowBox.h:
+        (WebCore::InlineFlowBox::setConstructed):
+
 2012-05-04  Chris Rogers  <[email protected]>
 
         Oscillator must implement noteOn() and noteOff()

Modified: trunk/Source/WebCore/rendering/InlineBox.h (116201 => 116202)


--- trunk/Source/WebCore/rendering/InlineBox.h	2012-05-05 01:28:38 UTC (rev 116201)
+++ trunk/Source/WebCore/rendering/InlineBox.h	2012-05-05 01:43:28 UTC (rev 116202)
@@ -90,8 +90,6 @@
     virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom);
     virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const LayoutPoint& pointInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom);
 
-    InlineBox* next() const { return m_next; }
-
     // Overloaded new operator.
     void* operator new(size_t, RenderArena*);
 

Modified: trunk/Source/WebCore/rendering/InlineFlowBox.h (116201 => 116202)


--- trunk/Source/WebCore/rendering/InlineFlowBox.h	2012-05-05 01:28:38 UTC (rev 116201)
+++ trunk/Source/WebCore/rendering/InlineFlowBox.h	2012-05-05 01:43:28 UTC (rev 116202)
@@ -88,7 +88,7 @@
     virtual void setConstructed()
     {
         InlineBox::setConstructed();
-        for (InlineBox* child = firstChild(); child; child = child->next())
+        for (InlineBox* child = firstChild(); child; child = child->nextOnLine())
             child->setConstructed();
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to