Title: [117698] trunk/Source/WebKit2
- Revision
- 117698
- Author
- [email protected]
- Date
- 2012-05-19 13:52:16 -0700 (Sat, 19 May 2012)
Log Message
REGRESSION (r108181): corruption after scrolling
https://bugs.webkit.org/show_bug.cgi?id=86934
<rdar://problem/11487337>
Reviewed by Dan Bernstein.
Use the flipped Y coordinate when resetting the scrolled rect.
* UIProcess/mac/BackingStoreMac.mm:
(WebKit::BackingStore::resetScrolledRect):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (117697 => 117698)
--- trunk/Source/WebKit2/ChangeLog 2012-05-19 20:48:14 UTC (rev 117697)
+++ trunk/Source/WebKit2/ChangeLog 2012-05-19 20:52:16 UTC (rev 117698)
@@ -1,3 +1,16 @@
+2012-05-18 Anders Carlsson <[email protected]>
+
+ REGRESSION (r108181): corruption after scrolling
+ https://bugs.webkit.org/show_bug.cgi?id=86934
+ <rdar://problem/11487337>
+
+ Reviewed by Dan Bernstein.
+
+ Use the flipped Y coordinate when resetting the scrolled rect.
+
+ * UIProcess/mac/BackingStoreMac.mm:
+ (WebKit::BackingStore::resetScrolledRect):
+
2012-05-19 Andy Estes <[email protected]>
Fix build errors found when disabling ENABLE_DRAG_SUPPORT
Modified: trunk/Source/WebKit2/UIProcess/mac/BackingStoreMac.mm (117697 => 117698)
--- trunk/Source/WebKit2/UIProcess/mac/BackingStoreMac.mm 2012-05-19 20:48:14 UTC (rev 117697)
+++ trunk/Source/WebKit2/UIProcess/mac/BackingStoreMac.mm 2012-05-19 20:52:16 UTC (rev 117698)
@@ -105,9 +105,8 @@
CGContextScaleCTM(context.get(), m_deviceScaleFactor, m_deviceScaleFactor);
- CGContextTranslateCTM(context.get(), -m_scrolledRect.location().x(), -m_scrolledRect.location().y());
- CGContextTranslateCTM(context.get(), 0, m_scrolledRect.size().height());
CGContextScaleCTM(context.get(), 1, -1);
+ CGContextTranslateCTM(context.get(), -m_scrolledRect.x(), -m_scrolledRect.maxY());
paint(context.get(), m_scrolledRect);
IntRect sourceRect(IntPoint(), m_scrolledRect.size());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes