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

Unified Diff: Source/core/css/CSSComputedStyleDeclaration.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/clipboard/DataTransfer.cpp ('k') | Source/core/css/DragUpdateTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp
index db28989cd8ab7247f0e8d70c04989328bb2e8fb5..ef484602a66cdd261d7f1c59e990acf4c8a5a5f0 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)
« no previous file with comments | « Source/core/clipboard/DataTransfer.cpp ('k') | Source/core/css/DragUpdateTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698