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

Unified Diff: Source/core/html/shadow/TextControlInnerElements.cpp

Issue 1115353002: Update renderer to layoutObject in core/html. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/shadow/SliderThumbElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/TextControlInnerElements.cpp
diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp
index 96a0e970617718fbaa0b347c41c33440ed84651e..5fcc26be23f26f94a08a6606db8b2bd6b93f6da1 100644
--- a/Source/core/html/shadow/TextControlInnerElements.cpp
+++ b/Source/core/html/shadow/TextControlInnerElements.cpp
@@ -138,11 +138,11 @@ LayoutObject* TextControlInnerEditorElement::createLayoutObject(const ComputedSt
PassRefPtr<ComputedStyle> TextControlInnerEditorElement::customStyleForLayoutObject()
{
- LayoutObject* parentRenderer = shadowHost()->layoutObject();
- if (!parentRenderer || !parentRenderer->isTextControl())
+ LayoutObject* parentLayoutObject = shadowHost()->layoutObject();
+ if (!parentLayoutObject || !parentLayoutObject->isTextControl())
return originalStyleForLayoutObject();
- LayoutTextControl* textControlRenderer = toLayoutTextControl(parentRenderer);
- return textControlRenderer->createInnerEditorStyle(textControlRenderer->styleRef());
+ LayoutTextControl* textControlLayoutObject = toLayoutTextControl(parentLayoutObject);
+ return textControlLayoutObject->createInnerEditorStyle(textControlLayoutObject->styleRef());
}
// ----------------------------
« no previous file with comments | « Source/core/html/shadow/SliderThumbElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698