| Index: third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.cpp b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| index 54b5b9b3c37832e5aba061365362ced1709161fe..93853b0271992d367300e8e9b9334bc069ff02a5 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| @@ -451,8 +451,9 @@ bool ImageResource::currentFrameKnownToBeOpaque(const LayoutObject* layoutObject
|
| blink::Image* image = this->image();
|
| if (image->isBitmapImage()) {
|
| TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "PaintImage", "data", InspectorPaintImageEvent::data(layoutObject, *this));
|
| - // BitmapImage::currentFrameKnownToBeOpaque() conservatively returns true for uncached
|
| - // frames. To get an accurate answer, we pre-cache the current frame metadata.
|
| + // BitmapImage::currentFrameKnownToBeOpaque() conservatively returns false for uncached
|
| + // frames. To increase the change of an accurate answer, we pre-cache the current frame
|
| + // metadata.
|
| image->imageForCurrentFrame();
|
| }
|
| return image->currentFrameKnownToBeOpaque();
|
|
|