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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/html/HTMLAnchorElement.cpp ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAreaElement.cpp
diff --git a/Source/core/html/HTMLAreaElement.cpp b/Source/core/html/HTMLAreaElement.cpp
index e91230830ffbc60dc11ea7678fd240fb0d167e78..7aada4cf979a42436fad1ccfa48d63922442bab3 100644
--- a/Source/core/html/HTMLAreaElement.cpp
+++ b/Source/core/html/HTMLAreaElement.cpp
@@ -192,7 +192,7 @@ bool HTMLAreaElement::isMouseFocusable() const
bool HTMLAreaElement::layoutObjectIsFocusable() 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;
« no previous file with comments | « Source/core/html/HTMLAnchorElement.cpp ('k') | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698