Title: [142560] trunk/Source/WebCore
Revision
142560
Author
[email protected]
Date
2013-02-11 17:31:46 -0800 (Mon, 11 Feb 2013)

Log Message

Remove extra early-return in FrameView::setScrollPosition

Rubber-stamped by Simon Fraser.

* page/FrameView.cpp:
(WebCore::FrameView::setScrollPosition):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (142559 => 142560)


--- trunk/Source/WebCore/ChangeLog	2013-02-12 01:31:36 UTC (rev 142559)
+++ trunk/Source/WebCore/ChangeLog	2013-02-12 01:31:46 UTC (rev 142560)
@@ -1,3 +1,12 @@
+2013-02-11  Tim Horton  <[email protected]>
+
+        Remove extra early-return in FrameView::setScrollPosition
+
+        Rubber-stamped by Simon Fraser.
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::setScrollPosition):
+
 2013-02-11  Arko Saha  <[email protected]>
 
         [Microdata] Fix crash after r141034 in chromuim port

Modified: trunk/Source/WebCore/page/FrameView.cpp (142559 => 142560)


--- trunk/Source/WebCore/page/FrameView.cpp	2013-02-12 01:31:36 UTC (rev 142559)
+++ trunk/Source/WebCore/page/FrameView.cpp	2013-02-12 01:31:46 UTC (rev 142560)
@@ -1775,9 +1775,6 @@
 
 void FrameView::setScrollPosition(const IntPoint& scrollPoint)
 {
-    if (scrollPoint == scrollPosition())
-        return;
-
     TemporaryChange<bool> changeInProgrammaticScroll(m_inProgrammaticScroll, true);
     m_maintainScrollPositionAnchor = 0;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to