Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: WebCore/rendering/RenderTableSection.cpp

Issue 3590023: Merge 69161 - 2010-10-05 Fady Samuel <fsamuel@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/rendering/RenderTableSection.cpp
===================================================================
--- WebCore/rendering/RenderTableSection.cpp (revision 69232)
+++ WebCore/rendering/RenderTableSection.cpp (working copy)
@@ -1022,9 +1022,9 @@
if (startrow == m_rowPos.size() || (startrow > 0 && (m_rowPos[startrow] > top)))
--startrow;
- int bottom = relativeY + h + os - 1;
+ int bottom = relativeY + h + os;
endrow = std::lower_bound(m_rowPos.begin(), m_rowPos.end(), bottom) - m_rowPos.begin();
- if ((endrow == m_rowPos.size()) || (endrow > 0 && m_rowPos[endrow - 1] == bottom))
+ if (endrow == m_rowPos.size())
--endrow;
if (!endrow && ty + m_rowPos[0] - table()->outerBorderTop() <= y + h + os)
@@ -1041,9 +1041,9 @@
if ((startcol == columnPos.size()) || (startcol > 0 && (columnPos[startcol] > left)))
--startcol;
- int right = relativeX + w + os - 1;
+ int right = relativeX + w + os;
endcol = std::lower_bound(columnPos.begin(), columnPos.end(), right) - columnPos.begin();
- if (endcol == columnPos.size() || (endcol > 0 && (columnPos[endcol - 1] == right)))
+ if (endcol == columnPos.size())
--endcol;
if (!endcol && tx + table()->columnPositions()[0] - table()->outerBorderLeft() <= y + w + os)
« no previous file with comments | « WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698