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

Unified Diff: Source/core/html/HTMLAreaElement.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 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/html/HTMLAreaElement.cpp
diff --git a/Source/core/html/HTMLAreaElement.cpp b/Source/core/html/HTMLAreaElement.cpp
index 65056c23778d2df003c46a4eaed2b89eb14bbcb2..e224047fb1cb264b23e82aa418d97492fd7f2421 100644
--- a/Source/core/html/HTMLAreaElement.cpp
+++ b/Source/core/html/HTMLAreaElement.cpp
@@ -192,7 +192,7 @@ bool HTMLAreaElement::isMouseFocusable() const
bool HTMLAreaElement::rendererIsFocusable() const
{
HTMLImageElement* image = imageElement();
- if (!image || !image->renderer() || image->renderer()->style()->visibility() != VISIBLE)
+ if (!image || !image->layoutObject() || image->layoutObject()->style()->visibility() != VISIBLE)
return false;
return supportsFocus() && Element::tabIndex() >= 0;
@@ -209,7 +209,7 @@ void HTMLAreaElement::setFocus(bool shouldBeFocused)
if (!imageElement)
return;
- LayoutObject* renderer = imageElement->renderer();
+ LayoutObject* renderer = imageElement->layoutObject();
if (!renderer || !renderer->isImage())
return;

Powered by Google App Engine
This is Rietveld 408576698