Changeset 129152 in webkit
- Timestamp:
- Sep 20, 2012 12:09:56 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r129150 r129152 1 2012-09-20 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r129144. 4 http://trac.webkit.org/changeset/129144 5 https://bugs.webkit.org/show_bug.cgi?id=97244 6 7 causing lots of assertions in tests (Requested by smfr on 8 #webkit). 9 10 * rendering/InlineBox.h: 11 (WebCore::InlineBox::markDirty): 12 * rendering/InlineTextBox.cpp: 13 * rendering/InlineTextBox.h: 14 (WebCore::InlineTextBox::start): 15 (WebCore::InlineTextBox::end): 16 (WebCore::InlineTextBox::len): 17 (WebCore::InlineTextBox::offsetRun): 18 1 19 2012-09-20 Mike West <mkwst@chromium.org> 2 20 -
trunk/Source/WebCore/rendering/InlineBox.h
r129144 r129152 263 263 264 264 bool isDirty() const { return m_bitfields.dirty(); } 265 v irtual void markDirty(bool dirty = true) { m_bitfields.setDirty(dirty); }265 void markDirty(bool dirty = true) { m_bitfields.setDirty(dirty); } 266 266 267 267 virtual void dirtyLineBoxes(); -
trunk/Source/WebCore/rendering/InlineTextBox.cpp
r129144 r129152 63 63 gTextBoxesWithOverflow->remove(this); 64 64 InlineBox::destroy(arena); 65 }66 67 void InlineTextBox::markDirty(bool dirty)68 {69 if (dirty) {70 m_len = 0;71 m_start = 0;72 }73 InlineBox::markDirty(dirty);74 65 } 75 66 -
trunk/Source/WebCore/rendering/InlineTextBox.h
r129144 r129152 65 65 void setPreviousTextBox(InlineTextBox* p) { m_prevTextBox = p; } 66 66 67 unsigned start() const { ASSERT(!isDirty());return m_start; }68 unsigned end() const { ASSERT(!isDirty());return m_len ? m_start + m_len - 1 : m_start; }69 unsigned len() const { ASSERT(!isDirty());return m_len; }67 unsigned start() const { return m_start; } 68 unsigned end() const { return m_len ? m_start + m_len - 1 : m_start; } 69 unsigned len() const { return m_len; } 70 70 71 71 void setStart(unsigned start) { m_start = start; } 72 72 void setLen(unsigned len) { m_len = len; } 73 73 74 void offsetRun(int d) { ASSERT(!isDirty());m_start += d; }74 void offsetRun(int d) { m_start += d; } 75 75 76 76 unsigned short truncation() { return m_truncation; } 77 78 virtual void markDirty(bool dirty = true) OVERRIDE;79 77 80 78 using InlineBox::hasHyphen;
Note: See TracChangeset
for help on using the changeset viewer.