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

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

Issue 19786002: Implement canvas focus ring methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unused IntRect array Created 7 years, 5 months 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
Index: Source/core/accessibility/AccessibilityRenderObject.cpp
diff --git a/Source/core/accessibility/AccessibilityRenderObject.cpp b/Source/core/accessibility/AccessibilityRenderObject.cpp
index 22e5779fcf319b902fda43612012492a85c0b78c..24ac75a029b6813aadfd6929b9ad74e510939c8c 100644
--- a/Source/core/accessibility/AccessibilityRenderObject.cpp
+++ b/Source/core/accessibility/AccessibilityRenderObject.cpp
@@ -214,6 +214,8 @@ AccessibilityRenderObject::~AccessibilityRenderObject()
LayoutRect AccessibilityRenderObject::elementRect() const
{
+ if (!m_explicitElementRect.isEmpty())
+ return m_explicitElementRect;
if (!m_renderer)
return LayoutRect();
if (!m_renderer->isBox())

Powered by Google App Engine
This is Rietveld 408576698