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

Unified Diff: Source/core/html/HTMLAnchorElement.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/frame/SmartClip.cpp ('k') | Source/core/html/HTMLAreaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAnchorElement.cpp
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp
index 0700d2f40d5415e7f8184772d14c0a39f973a654..1b9beca11a62f7f1ad4ba0a4b86933aae389b12c 100644
--- a/Source/core/html/HTMLAnchorElement.cpp
+++ b/Source/core/html/HTMLAnchorElement.cpp
@@ -131,9 +131,9 @@ static void appendServerMapMousePosition(StringBuilder& url, Event* event)
if (!imageElement.isServerMap())
return;
- if (!imageElement.renderer() || !imageElement.renderer()->isLayoutImage())
+ if (!imageElement.layoutObject() || !imageElement.layoutObject()->isLayoutImage())
return;
- LayoutImage* renderer = toLayoutImage(imageElement.renderer());
+ LayoutImage* renderer = toLayoutImage(imageElement.layoutObject());
// FIXME: This should probably pass true for useTransforms.
FloatPoint absolutePosition = renderer->absoluteToLocal(FloatPoint(toMouseEvent(event)->pageX(), toMouseEvent(event)->pageY()));
« no previous file with comments | « Source/core/frame/SmartClip.cpp ('k') | Source/core/html/HTMLAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698