| Index: sky/engine/core/rendering/RenderImage.cpp
|
| diff --git a/sky/engine/core/rendering/RenderImage.cpp b/sky/engine/core/rendering/RenderImage.cpp
|
| index 671ef94072d31c1035e2984eb65b426bb8dba5fa..e6dc9d38b545de898ec4a673c3598f77ed17c4ea 100644
|
| --- a/sky/engine/core/rendering/RenderImage.cpp
|
| +++ b/sky/engine/core/rendering/RenderImage.cpp
|
| @@ -382,15 +382,13 @@ void RenderImage::paintIntoRect(GraphicsContext* context, const LayoutRect& rect
|
| if (!img || img->isNull())
|
| return;
|
|
|
| - HTMLImageElement* imageElt = isHTMLImageElement(node()) ? toHTMLImageElement(node()) : 0;
|
| - CompositeOperator compositeOperator = imageElt ? imageElt->compositeOperator() : CompositeSourceOver;
|
| Image* image = img.get();
|
| InterpolationQuality interpolationQuality = chooseInterpolationQuality(context, image, image, alignedRect.size());
|
|
|
| TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "PaintImage", "data", InspectorPaintImageEvent::data(*this));
|
| InterpolationQuality previousInterpolationQuality = context->imageInterpolationQuality();
|
| context->setImageInterpolationQuality(interpolationQuality);
|
| - context->drawImage(image, alignedRect, compositeOperator, shouldRespectImageOrientation());
|
| + context->drawImage(image, alignedRect, CompositeSourceOver, shouldRespectImageOrientation());
|
| context->setImageInterpolationQuality(previousInterpolationQuality);
|
| }
|
|
|
|
|