Index: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
index f9b80b66a11eadf7d99f101c73ffadaea25ad970..1a4e6864cd0469851ba5f6355f7ee55b524ba006 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
@@ -898,7 +898,7 @@ std::unique_ptr<TracedValue> InspectorPaintImageEvent::data( |
const LayoutImage& layoutImage) { |
std::unique_ptr<TracedValue> value = TracedValue::create(); |
setGeneratingNodeInfo(value.get(), &layoutImage, "nodeId"); |
- if (const ImageResource* resource = layoutImage.cachedImage()) |
+ if (const ImageResourceContent* resource = layoutImage.cachedImage()) |
value->setString("url", resource->url().getString()); |
return value; |
} |
@@ -908,14 +908,14 @@ std::unique_ptr<TracedValue> InspectorPaintImageEvent::data( |
const StyleImage& styleImage) { |
std::unique_ptr<TracedValue> value = TracedValue::create(); |
setGeneratingNodeInfo(value.get(), &owningLayoutObject, "nodeId"); |
- if (const ImageResource* resource = styleImage.cachedImage()) |
+ if (const ImageResourceContent* resource = styleImage.cachedImage()) |
value->setString("url", resource->url().getString()); |
return value; |
} |
std::unique_ptr<TracedValue> InspectorPaintImageEvent::data( |
const LayoutObject* owningLayoutObject, |
- const ImageResource& imageResource) { |
+ const ImageResourceContent& imageResource) { |
std::unique_ptr<TracedValue> value = TracedValue::create(); |
setGeneratingNodeInfo(value.get(), owningLayoutObject, "nodeId"); |
value->setString("url", imageResource.url().getString()); |