Index: Source/core/inspector/InspectorTraceEvents.cpp |
diff --git a/Source/core/inspector/InspectorTraceEvents.cpp b/Source/core/inspector/InspectorTraceEvents.cpp |
index 43ce38ca1d052eef9d41e92486ad2b4b594336a6..20e850c223f2f3df626d615a53536c97e8ad908d 100644 |
--- a/Source/core/inspector/InspectorTraceEvents.cpp |
+++ b/Source/core/inspector/InspectorTraceEvents.cpp |
@@ -536,7 +536,7 @@ static void localToPageQuad(const LayoutObject& layoutObject, const LayoutRect& |
{ |
LocalFrame* frame = layoutObject.frame(); |
FrameView* view = frame->view(); |
- FloatQuad absolute = layoutObject.localToAbsoluteQuad(FloatQuad(rect)); |
+ FloatQuad absolute = layoutObject.localToAbsoluteQuad(FloatQuad(FloatRect(rect))); |
quad->setP1(view->contentsToRootFrame(roundedIntPoint(absolute.p1()))); |
quad->setP2(view->contentsToRootFrame(roundedIntPoint(absolute.p2()))); |
quad->setP3(view->contentsToRootFrame(roundedIntPoint(absolute.p3()))); |