| 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 a0bb5b5001451d7abc3c6becac6f4d7003295980..060066719e5e2b9ef82f10800c47661e5261ea8b 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
|
| @@ -1067,6 +1067,17 @@ std::unique_ptr<TracedValue> InspectorPaintImageEvent::Data(
|
| return value;
|
| }
|
|
|
| +std::unique_ptr<TracedValue> InspectorPaintImageEvent::Data(
|
| + Node* node,
|
| + const StyleImage& style_image) {
|
| + std::unique_ptr<TracedValue> value = TracedValue::Create();
|
| + if (node)
|
| + SetNodeInfo(value.get(), node, "nodeId", nullptr);
|
| + if (const ImageResourceContent* resource = style_image.CachedImage())
|
| + value->SetString("url", resource->Url().GetString());
|
| + return value;
|
| +}
|
| +
|
| std::unique_ptr<TracedValue> InspectorPaintImageEvent::Data(
|
| const LayoutObject* owning_layout_object,
|
| const ImageResourceContent& image_resource) {
|
|
|