Index: Source/core/inspector/InspectorTraceEvents.cpp |
diff --git a/Source/core/inspector/InspectorTraceEvents.cpp b/Source/core/inspector/InspectorTraceEvents.cpp |
index 18a25d246052d90f3faecbabffcdf9add53e8475..0227c4b0f6c17092abd58d5c44f6bb055164b0b9 100644 |
--- a/Source/core/inspector/InspectorTraceEvents.cpp |
+++ b/Source/core/inspector/InspectorTraceEvents.cpp |
@@ -20,9 +20,9 @@ |
#include "core/inspector/InspectorNodeIds.h" |
#include "core/inspector/ScriptCallStack.h" |
#include "core/layout/Layer.h" |
+#include "core/layout/LayoutImage.h" |
#include "core/layout/LayoutObject.h" |
#include "core/page/Page.h" |
-#include "core/rendering/RenderImage.h" |
#include "core/workers/WorkerThread.h" |
#include "core/xmlhttprequest/XMLHttpRequest.h" |
#include "platform/JSONValues.h" |
@@ -593,11 +593,11 @@ PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorFunctionCallEvent::dat |
return value.release(); |
} |
-PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorPaintImageEvent::data(const RenderImage& renderImage) |
+PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorPaintImageEvent::data(const LayoutImage& layoutImage) |
{ |
RefPtr<TracedValue> value = TracedValue::create(); |
- setGeneratingNodeInfo(value.get(), &renderImage, "nodeId"); |
- if (const ImageResource* resource = renderImage.cachedImage()) |
+ setGeneratingNodeInfo(value.get(), &layoutImage, "nodeId"); |
+ if (const ImageResource* resource = layoutImage.cachedImage()) |
value->setString("url", resource->url().string()); |
return value.release(); |
} |