-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=112860 <rdar://problem/13468400> Reviewed by Simon Fraser. * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h: (TiledCoreAnimationDrawingArea): Add storage for m_clipsToExposedRect. * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: (WebKit::TiledCoreAnimationDrawingArea::flushLayers): The page overlay layer will never have children, so we can use flushCompositingState instead of the ForThisLayerOnly variant. Pass the visible rect of the page overlay layer (computed by intersecting its bounds with the exposed rect that comes from the WKView) to flushCompositingState; don't bother setting the visible rect manually. (WebKit::TiledCoreAnimationDrawingArea::mainFrameScrollabilityChanged): Store m_clipsToExposedRect so we can use it in flushLayers. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
29edb84c