Title: [117196] trunk/Source/WebCore
- Revision
- 117196
- Author
- [email protected]
- Date
- 2012-05-15 17:37:31 -0700 (Tue, 15 May 2012)
Log Message
https://bugs.webkit.org/show_bug.cgi?id=86549
Page Scale + Tiled Drawing: Twitter sign in page content disappears
after typing into name and enabling password field
-and corresponding-
<rdar://problem/11415352>
Reviewed by Oliver Hunt.
The enormous rect we used to use would overflow in CA and do nothing
when there was any scale > 1 on the context. Instead, just call
setNeedsDisplay on each tile.
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::setNeedsDisplay):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (117195 => 117196)
--- trunk/Source/WebCore/ChangeLog 2012-05-16 00:34:16 UTC (rev 117195)
+++ trunk/Source/WebCore/ChangeLog 2012-05-16 00:37:31 UTC (rev 117196)
@@ -1,3 +1,19 @@
+2012-05-15 Beth Dakin <[email protected]>
+
+ https://bugs.webkit.org/show_bug.cgi?id=86549
+ Page Scale + Tiled Drawing: Twitter sign in page content disappears
+ after typing into name and enabling password field
+ -and corresponding-
+ <rdar://problem/11415352>
+
+ Reviewed by Oliver Hunt.
+
+ The enormous rect we used to use would overflow in CA and do nothing
+ when there was any scale > 1 on the context. Instead, just call
+ setNeedsDisplay on each tile.
+ * platform/graphics/ca/mac/TileCache.mm:
+ (WebCore::TileCache::setNeedsDisplay):
+
2012-05-15 Andreas Kling <[email protected]>
Pass Attribute by const reference as much as possible.
Modified: trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm (117195 => 117196)
--- trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm 2012-05-16 00:34:16 UTC (rev 117195)
+++ trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm 2012-05-16 00:37:31 UTC (rev 117196)
@@ -86,7 +86,8 @@
void TileCache::setNeedsDisplay()
{
- setNeedsDisplayInRect(IntRect(0, 0, std::numeric_limits<int>::max(), std::numeric_limits<int>::max()));
+ for (TileMap::const_iterator it = m_tiles.begin(), end = m_tiles.end(); it != end; ++it)
+ [it->second.get() setNeedsDisplay];
}
void TileCache::setNeedsDisplayInRect(const IntRect& rect)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes