Changeset 158900 in webkit for trunk/Source/WebCore/rendering/RenderImage.cpp
- Timestamp:
- Nov 7, 2013, 7:55:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderImage.cpp
r158163 r158900 392 392 imageOffset = LayoutSize(leftBorder + leftPad + centerX + borderWidth, topBorder + topPad + centerY + borderWidth); 393 393 394 ImageOrientationDescription orientationDescription ;394 ImageOrientationDescription orientationDescription(shouldRespectImageOrientation()); 395 395 #if ENABLE(CSS_IMAGE_ORIENTATION) 396 396 orientationDescription.setImageOrientationEnum(style().imageOrientation()); 397 orientationDescription.setRespectImageOrientation(shouldRespectImageOrientation());398 397 #endif 399 398 context->drawImage(image.get(), style().colorSpace(), pixelSnappedIntRect(LayoutRect(paintOffset + imageOffset, imageSize)), CompositeSourceOver, orientationDescription); … … 524 523 Image* image = m_imageResource->image().get(); 525 524 bool useLowQualityScaling = shouldPaintAtLowQuality(context, image, image, alignedRect.size()); 526 ImageOrientationDescription orientationDescription ;525 ImageOrientationDescription orientationDescription(shouldRespectImageOrientation()); 527 526 #if ENABLE(CSS_IMAGE_ORIENTATION) 528 527 orientationDescription.setImageOrientationEnum(style().imageOrientation()); 529 orientationDescription.setRespectImageOrientation(shouldRespectImageOrientation());530 528 #endif 531 529 context->drawImage(m_imageResource->image(alignedRect.width(), alignedRect.height()).get(), style().colorSpace(), alignedRect, compositeOperator, orientationDescription, useLowQualityScaling);
Note:
See TracChangeset
for help on using the changeset viewer.