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

Unified Diff: Source/core/rendering/RenderTextFragment.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/core/rendering/RenderTextFragment.h ('k') | Source/core/rendering/RenderVTTCue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTextFragment.cpp
diff --git a/Source/core/rendering/RenderTextFragment.cpp b/Source/core/rendering/RenderTextFragment.cpp
index 585b15a8e89d0cc43a8264422dd1dcf58e49eeb0..8878128c57313831aaea4128b1bdfae77bedcd48 100644
--- a/Source/core/rendering/RenderTextFragment.cpp
+++ b/Source/core/rendering/RenderTextFragment.cpp
@@ -95,7 +95,7 @@ void RenderTextFragment::setText(PassRefPtr<StringImpl> text, bool force)
// If we're the remaining text from a first letter then we have to tell the
// first letter pseudo element to reattach itself so it can re-calculate the
// correct first-letter settings.
- if (RenderObject* previous = previousSibling()) {
+ if (LayoutObject* previous = previousSibling()) {
if (!previous->isPseudoElement() || !previous->node()->isFirstLetterPseudoElement())
return;
@@ -143,7 +143,7 @@ Text* RenderTextFragment::associatedTextNode() const
if (node->isFirstLetterPseudoElement()) {
FirstLetterPseudoElement* pseudo = toFirstLetterPseudoElement(node);
- RenderObject* nextRenderer = FirstLetterPseudoElement::firstLetterTextRenderer(*pseudo);
+ LayoutObject* nextRenderer = FirstLetterPseudoElement::firstLetterTextRenderer(*pseudo);
if (!nextRenderer)
return nullptr;
node = nextRenderer->node();
« no previous file with comments | « Source/core/rendering/RenderTextFragment.h ('k') | Source/core/rendering/RenderVTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698