X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Frendering%2FInlineBox.h;h=d18857d00fc6b3baab920c20b155a04e0066a837;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=8f2a4ff153eaafcd7bf529e83a3c308729b8015f;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/rendering/InlineBox.h b/src/third_party/WebKit/Source/core/rendering/InlineBox.h index 8f2a4ff..d18857d 100644 --- a/src/third_party/WebKit/Source/core/rendering/InlineBox.h +++ b/src/third_party/WebKit/Source/core/rendering/InlineBox.h @@ -30,6 +30,8 @@ class HitTestRequest; class HitTestResult; class RootInlineBox; +enum MarkLineBoxes { MarkLineBoxesDirty, DontMarkLineBoxes }; + // InlineBox represents a rectangle that occurs on a line. It corresponds to // some RenderObject (i.e., it represents a portion of that RenderObject). class InlineBox { @@ -147,7 +149,7 @@ public: void setFirstLineStyleBit(bool firstLine) { m_bitfields.setFirstLine(firstLine); } bool isFirstLineStyle() const { return m_bitfields.firstLine(); } - void remove(); + void remove(MarkLineBoxes = MarkLineBoxesDirty); InlineBox* nextOnLine() const { return m_next; } InlineBox* prevOnLine() const { return m_prev; } @@ -255,7 +257,7 @@ public: virtual void clearTruncation() { } bool isDirty() const { return m_bitfields.dirty(); } - virtual void markDirty(bool dirty = true) { m_bitfields.setDirty(dirty); } + virtual void markDirty() { m_bitfields.setDirty(true); } virtual void dirtyLineBoxes();