Bug 134991

Summary: Synchronize offsetFromRenderer() + devicePixelFractionFromRenderer() offset calls between RenderLayerBacking and GraphicsLayer.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: NEW ---    
Severity: Normal CC: simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description zalan 2014-07-16 15:23:49 PDT
On the way out (as dirty rects) those calls are in RenderLayerBacking (RenderLayerBacking::setContentsNeedDisplay()), while on the way in (as clip rects) offsetFromRenderer() is in GraphicsLayer (GraphicsLayer::paintGraphicsLayerContents) while  devicePixelFractionFromRenderer() is in RenderLayerBacking (RenderLayerBacking::paintContents)

They both should either be in GraphicsLayer or in RenderLayerBacking.