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

Unified Diff: Source/core/css/CSSComputedStyleDeclaration.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/css/CSSComputedStyleDeclaration.cpp
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp
index 254add216b1a963abbe41403640f63217a3559ff..bf3dfdc9b6f5e272454bb452ff16f0363a2c0524 100644
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -539,7 +539,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu
Node* styledNode = this->styledNode();
if (!styledNode)
return nullptr;
- LayoutObject* renderer = styledNode->renderer();
+ LayoutObject* renderer = styledNode->layoutObject();
RefPtr<LayoutStyle> style;
Document& document = styledNode->document();
@@ -552,7 +552,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu
// The style recalc could have caused the styled node to be discarded or replaced
// if it was a PseudoElement so we need to update it.
styledNode = this->styledNode();
- renderer = styledNode->renderer();
+ renderer = styledNode->layoutObject();
style = computeLayoutStyle();
@@ -564,7 +564,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu
document.updateLayoutIgnorePendingStylesheets();
styledNode = this->styledNode();
style = computeLayoutStyle();
- renderer = styledNode->renderer();
+ renderer = styledNode->layoutObject();
}
if (!style)

Powered by Google App Engine
This is Rietveld 408576698