Index: third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
index ab186eec23b674af83713ff1e8ea5384966b31b5..d34c7c165871b02e167d6992f285dc09303beedd 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
@@ -131,7 +131,8 @@ PassRefPtr<Image> StyleFetchedImageSet::image(const LayoutObject*, const IntSize |
bool StyleFetchedImageSet::knownToBeOpaque(const LayoutObject* layoutObject) const |
{ |
- return m_bestFitImage->currentFrameKnownToBeOpaque(layoutObject); |
+ TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "PaintImage", "data", InspectorPaintImageEvent::data(layoutObject, *m_bestFitImage.get())); |
+ return m_bestFitImage->image()->currentFrameKnownToBeOpaque(Image::PreCacheMetadata); |
} |
DEFINE_TRACE(StyleFetchedImageSet) |