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

Unified Diff: Source/core/svg/SVGLengthContext.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/svg/SVGLengthContext.cpp
diff --git a/Source/core/svg/SVGLengthContext.cpp b/Source/core/svg/SVGLengthContext.cpp
index 13c8784f7473ca59b853d36378192259f97b00fa..3e2eb6f6393e3557a01b4cf57469743e5dde6d54 100644
--- a/Source/core/svg/SVGLengthContext.cpp
+++ b/Source/core/svg/SVGLengthContext.cpp
@@ -194,8 +194,8 @@ static inline LayoutStyle* layoutStyleForLengthResolving(const SVGElement* conte
const ContainerNode* currentContext = context;
do {
- if (currentContext->renderer())
- return currentContext->renderer()->style();
+ if (currentContext->layoutObject())
+ return currentContext->layoutObject()->style();
currentContext = currentContext->parentNode();
} while (currentContext);

Powered by Google App Engine
This is Rietveld 408576698