Index: third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
index 058662f9fafff8ddef82d99282895d5a4fc4f958..838103d195999b68bb434aec34c573f2d54b7cb5 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
@@ -134,7 +134,8 @@ PassRefPtr<Image> StyleFetchedImage::image(const LayoutObject*, const IntSize& c |
bool StyleFetchedImage::knownToBeOpaque(const LayoutObject* layoutObject) const |
{ |
- return m_image->currentFrameKnownToBeOpaque(layoutObject); |
+ TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "PaintImage", "data", InspectorPaintImageEvent::data(layoutObject, *m_image.get())); |
+ return m_image->image()->currentFrameKnownToBeOpaque(Image::PreCacheMetadata); |
} |
DEFINE_TRACE(StyleFetchedImage) |