Title: [119758] trunk/Source/WebKit2
- Revision
- 119758
- Author
- [email protected]
- Date
- 2012-06-07 15:08:32 -0700 (Thu, 07 Jun 2012)
Log Message
Search highlight does not scroll with the content of the page, and find overlay doesn't work, on large-enough window
https://bugs.webkit.org/show_bug.cgi?id=88577
<rdar://problem/11430118>
Reviewed by John Sullivan.
Prevent the page overlay layer from falling into tiled mode.
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (119757 => 119758)
--- trunk/Source/WebKit2/ChangeLog 2012-06-07 22:01:37 UTC (rev 119757)
+++ trunk/Source/WebKit2/ChangeLog 2012-06-07 22:08:32 UTC (rev 119758)
@@ -1,3 +1,16 @@
+2012-06-07 Anders Carlsson <[email protected]>
+
+ Search highlight does not scroll with the content of the page, and find overlay doesn't work, on large-enough window
+ https://bugs.webkit.org/show_bug.cgi?id=88577
+ <rdar://problem/11430118>
+
+ Reviewed by John Sullivan.
+
+ Prevent the page overlay layer from falling into tiled mode.
+
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer):
+
2012-06-07 Alexander Færøy <[email protected]>
Add QML API tests for Device Pixel Ratio
Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (119757 => 119758)
--- trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm 2012-06-07 22:01:37 UTC (rev 119757)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm 2012-06-07 22:08:32 UTC (rev 119758)
@@ -40,6 +40,7 @@
#import <WebCore/Frame.h>
#import <WebCore/FrameView.h>
#import <WebCore/GraphicsContext.h>
+#import <WebCore/GraphicsLayerCA.h>
#import <WebCore/Page.h>
#import <WebCore/RenderLayerCompositor.h>
#import <WebCore/RenderView.h>
@@ -415,6 +416,9 @@
m_pageOverlayLayer->setName("page overlay content");
#endif
+ // We don't ever want the overlay layer to become tiled because that will look bad, and
+ // we also never expect the underlying CALayer to change.
+ static_cast<GraphicsLayerCA*>(m_pageOverlayLayer.get())->setAllowTiledLayer(false);
m_pageOverlayLayer->setAcceleratesDrawing(true);
m_pageOverlayLayer->setDrawsContent(true);
m_pageOverlayLayer->setSize(m_webPage->size());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes