Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index f23241334a7703c942b410dc5c9f46d2ef09eeb5..2dadd898bd1b19de106112189f259f233a2f21bb 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -2364,4 +2364,12 @@ String Internals::unscopeableMethod() |
return "unscopeableMethod"; |
} |
+ClientRectList* Internals::focusRingRects(Element* element) |
+{ |
+ Vector<LayoutRect> rects; |
+ if (element && element->layoutObject()) |
+ element->layoutObject()->addFocusRingRects(rects, LayoutPoint()); |
+ return ClientRectList::create(rects); |
+} |
+ |
} // namespace blink |