| 1969 | } |
| 1970 | |
| 1971 | Frame ViewNode::computeVisualFrameInRoot() const { |
| 1972 | auto selfFrame = getCalculatedFrame(); |
| 1973 | auto rootVisual = convertSelfVisualToRootVisual(Point(0, 0)); |
| 1974 | return Frame(rootVisual.x, rootVisual.y, selfFrame.width, selfFrame.height); |
| 1975 | } |
| 1976 | |
| 1977 | void ViewNode::ensureFrameIsVisibleWithinParentScrolls(ViewTransactionScope& viewTransactionScope, |
| 1978 | bool animated) const { |