Title: [162995] tags/Safari-538.14.1/Source/WebCore
- Revision
- 162995
- Author
- matthew_han...@apple.com
- Date
- 2014-01-28 19:12:07 -0800 (Tue, 28 Jan 2014)
Log Message
Merge r162994: <rdar://problem/15920823>
Modified Paths
Diff
Modified: tags/Safari-538.14.1/Source/WebCore/ChangeLog (162994 => 162995)
--- tags/Safari-538.14.1/Source/WebCore/ChangeLog 2014-01-29 03:06:01 UTC (rev 162994)
+++ tags/Safari-538.14.1/Source/WebCore/ChangeLog 2014-01-29 03:12:07 UTC (rev 162995)
@@ -1,3 +1,18 @@
+2014-01-28 Matthew Hanson <matthew_han...@apple.com>
+
+ Merge r162994: <rdar://problem/15920823>
+
+ 2014-01-28 Andy Estes <aes...@apple.com>
+
+ [iOS] REGRESSION (r162663): Webpages have strange artifacts or corruption around tile boundaries
+ https://bugs.webkit.org/show_bug.cgi?id=127823
+
+ Reviewed by Daniel Bates.
+
+ Original patch by Simon Fraser.
+
+ * platform/ScrollView.cpp: Specify LegacyIOSDocumentViewRect when calling visibleContentRect().
+
2014-01-28 Babak Shafiei <bshaf...@apple.com>
Merge r162885
Modified: tags/Safari-538.14.1/Source/WebCore/platform/ScrollView.cpp (162994 => 162995)
--- tags/Safari-538.14.1/Source/WebCore/platform/ScrollView.cpp 2014-01-29 03:06:01 UTC (rev 162994)
+++ tags/Safari-538.14.1/Source/WebCore/platform/ScrollView.cpp 2014-01-29 03:12:07 UTC (rev 162995)
@@ -382,7 +382,7 @@
{
// If no scrollbars are present, it does not indicate content is not be scrollable.
if (!m_horizontalScrollbar && !m_verticalScrollbar && !prohibitsScrolling()) {
- IntSize scrollSize = m_contentsSize - visibleContentRect().size();
+ IntSize scrollSize = m_contentsSize - visibleContentRect(LegacyIOSDocumentVisibleRect).size();
scrollSize.clampNegativeToZero();
return orientation == HorizontalScrollbar ? scrollSize.width() : scrollSize.height();
}
@@ -1025,7 +1025,7 @@
{
IntRect paintRect = rect;
if (clipsRepaints() && !paintsEntireContents())
- paintRect.intersect(visibleContentRect());
+ paintRect.intersect(visibleContentRect(LegacyIOSDocumentVisibleRect));
if (paintRect.isEmpty())
return;
@@ -1142,7 +1142,7 @@
IntRect documentDirtyRect = rect;
if (!paintsEntireContents()) {
- IntRect visibleAreaWithoutScrollbars(location(), visibleContentRect().size());
+ IntRect visibleAreaWithoutScrollbars(location(), visibleContentRect(LegacyIOSDocumentVisibleRect).size());
documentDirtyRect.intersect(visibleAreaWithoutScrollbars);
}
@@ -1156,7 +1156,7 @@
context->translate(-scrollX(), -scrollY());
documentDirtyRect.moveBy(scrollPosition());
- context->clip(visibleContentRect());
+ context->clip(visibleContentRect(LegacyIOSDocumentVisibleRect));
}
paintContents(context, documentDirtyRect);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes