| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 9dd1de88e29323a343b9ed150a9794c91e4c00f0..7904b658dee7d7d8b6835c345decef3672a5c03a 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -2004,7 +2004,7 @@ ClientRectList* Internals::annotatedRegions(Document* document, bool draggable,
|
| Vector<FloatQuad> quads;
|
| for (size_t i = 0; i < regions.size(); ++i) {
|
| if (regions[i].draggable == draggable)
|
| - quads.append(FloatQuad(regions[i].bounds));
|
| + quads.append(FloatQuad(FloatRect(regions[i].bounds)));
|
| }
|
| return ClientRectList::create(quads);
|
| }
|
| @@ -2121,7 +2121,7 @@ ClientRect* Internals::selectionBounds(ExceptionState& exceptionState)
|
| return nullptr;
|
| }
|
|
|
| - return ClientRect::create(document->frame()->selection().bounds());
|
| + return ClientRect::create(FloatRect(document->frame()->selection().bounds()));
|
| }
|
|
|
| String Internals::markerTextForListItem(Element* element)
|
|
|