void StyleGeneratedImage::computeIntrinsicDimensions(const LayoutObject* layoutObject, FloatSize& intrinsicSize, FloatSize& intrinsicRatio) { // At a zoom level of 1 the image is guaranteed to have an integer size. LayoutSize size = imageSize(layoutObject, 1); ASSERT(size.fraction().isZero()); intrinsicSize = intrinsicRatio = FloatSize(size); }