Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: Source/core/accessibility/AXSpinButton.cpp

Issue 711453004: absoluteFocusRingQuads() => absoluteFocusRingBoundingBoxRect() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/accessibility/AXRenderObject.cpp ('k') | Source/core/rendering/RenderObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXSpinButton.cpp
diff --git a/Source/core/accessibility/AXSpinButton.cpp b/Source/core/accessibility/AXSpinButton.cpp
index a725b5af312b93ee07905a1179587f8efb5f2336..ededc3e3e7045eeaaf0c7d0c8176b726fb6d0978 100644
--- a/Source/core/accessibility/AXSpinButton.cpp
+++ b/Source/core/accessibility/AXSpinButton.cpp
@@ -52,10 +52,7 @@ LayoutRect AXSpinButton::elementRect() const
if (!m_spinButtonElement || !m_spinButtonElement->renderer())
return LayoutRect();
- Vector<FloatQuad> quads;
- m_spinButtonElement->renderer()->absoluteFocusRingQuads(quads);
-
- return boundingBoxForQuads(m_spinButtonElement->renderer(), quads);
+ return m_spinButtonElement->renderer()->absoluteFocusRingBoundingBoxRect();
}
void AXSpinButton::addChildren()
« no previous file with comments | « Source/core/accessibility/AXRenderObject.cpp ('k') | Source/core/rendering/RenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698