Lines Matching defs:currentLayer
2294 const RenderLayer* currentLayer = 0;
2299 currentLayer = container->enclosingLayer();
2300 if (currentLayer && currentLayer->renderer() != container) {
2301 layerOffset.move(container->offsetFromAncestorContainer(currentLayer->renderer()));
2305 layerOffset.move(currentLayer->scrolledContentOffset());
2308 currentLayer = enclosingLayer();
2310 if (!currentLayer)
2314 this->addLayerHitTestRects(layerRects, currentLayer, layerOffset, LayoutRect());
2317 void RenderObject::addLayerHitTestRects(LayerHitTestRects& layerRects, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const
2319 ASSERT(currentLayer);
2320 ASSERT(currentLayer == this->enclosingLayer());
2329 LayerHitTestRects::iterator iter = layerRects.find(currentLayer);
2331 iter = layerRects.add(currentLayer, Vector<LayoutRect>()).iterator;
2351 curr->addLayerHitTestRects(layerRects, currentLayer, layerOffset, newContainerRect);