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

Unified Diff: Source/core/layout/LayoutBlockFlowLine.cpp

Issue 1055683008: Rename variable name from renderText to layoutText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/editing/InsertIntoTextNodeCommand.cpp ('k') | Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBlockFlowLine.cpp
diff --git a/Source/core/layout/LayoutBlockFlowLine.cpp b/Source/core/layout/LayoutBlockFlowLine.cpp
index da094bab1fbf3cbaafa0bdf20cc25fd1505eee3c..c54361d8dcafb16f8b0377802827645f70be5b36 100644
--- a/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -83,8 +83,8 @@ static inline InlineTextBox* createInlineBoxForText(BidiRun& run, bool isOnlyRun
static inline void dirtyLineBoxesForRenderer(LayoutObject* o, bool fullLayout)
{
if (o->isText()) {
- LayoutText* renderText = toLayoutText(o);
- renderText->dirtyOrDeleteLineBoxesIfNeeded(fullLayout);
+ LayoutText* layoutText = toLayoutText(o);
+ layoutText->dirtyOrDeleteLineBoxesIfNeeded(fullLayout);
} else {
toLayoutInline(o)->dirtyLineBoxes(fullLayout);
}
@@ -182,14 +182,14 @@ static bool reachedEndOfTextRenderer(const BidiRunList<BidiRun>& bidiRuns)
LayoutObject* r = run->m_object;
if (!r->isText() || r->isBR())
return false;
- LayoutText* renderText = toLayoutText(r);
- unsigned length = renderText->textLength();
+ LayoutText* layoutText = toLayoutText(r);
+ unsigned length = layoutText->textLength();
if (pos >= length)
return true;
- if (renderText->is8Bit())
- return endsWithASCIISpaces(renderText->characters8(), pos, length);
- return endsWithASCIISpaces(renderText->characters16(), pos, length);
+ if (layoutText->is8Bit())
+ return endsWithASCIISpaces(layoutText->characters8(), pos, length);
+ return endsWithASCIISpaces(layoutText->characters16(), pos, length);
}
RootInlineBox* LayoutBlockFlow::constructLine(BidiRunList<BidiRun>& bidiRuns, const LineInfo& lineInfo)
« no previous file with comments | « Source/core/editing/InsertIntoTextNodeCommand.cpp ('k') | Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698