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

Unified Diff: Source/core/editing/InsertIntoTextNodeCommand.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/dom/Range.cpp ('k') | Source/core/layout/LayoutBlockFlowLine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/InsertIntoTextNodeCommand.cpp
diff --git a/Source/core/editing/InsertIntoTextNodeCommand.cpp b/Source/core/editing/InsertIntoTextNodeCommand.cpp
index 6fb0bf161b3aaccfaf9fe3945a957b71e3ff0e16..b13c1bfdba0259ef68c127716ef60f326eafc938 100644
--- a/Source/core/editing/InsertIntoTextNodeCommand.cpp
+++ b/Source/core/editing/InsertIntoTextNodeCommand.cpp
@@ -55,9 +55,9 @@ void InsertIntoTextNodeCommand::doApply()
return;
if (passwordEchoEnabled) {
- LayoutText* renderText = m_node->layoutObject();
- if (renderText && renderText->isSecure())
- renderText->momentarilyRevealLastTypedCharacter(m_offset + m_text.length() - 1);
+ LayoutText* layoutText = m_node->layoutObject();
+ if (layoutText && layoutText->isSecure())
+ layoutText->momentarilyRevealLastTypedCharacter(m_offset + m_text.length() - 1);
}
m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing);
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | Source/core/layout/LayoutBlockFlowLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698