[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdelibs/khtml/rendering
From: Germain Garand <germain () ebooksfrance ! org>
Date: 2010-02-22 21:07:48
Message-ID: 1266872868.913750.10906.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1094493 by ggarand:
automatically merged revision 1094432:
avoid doing any unneeded work in scrollToOffset when the offset ends up
M +3 -0 render_layer.cpp
--- branches/KDE/4.4/kdelibs/khtml/rendering/render_layer.cpp #1094492:1094493
@@ -709,6 +709,9 @@
if (y > maxY) y = maxY;
}
+ if ((m_scrollX == x - m_scrollXOrigin) && m_scrollY == y)
+ return; // nothing to do
+
// FIXME: Eventually, we will want to perform a blit. For now never
// blit, since the check for blitting is going to be very
// complicated (since it will involve testing whether our layer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic