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

Unified Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 2809213003: Blink Rename follow-up: BRs --big-rename--> _b_rs --this-fix--> _brs. (Closed)
Patch Set: Created 3 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 | « third_party/WebKit/Source/core/dom/Node.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index b91538efcfaa7eb5ae14c5775966265e5ac000d0..94b5085560249222e5e382eae56ca503346ca503 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -1288,7 +1288,7 @@ const AtomicString& Node::lookupNamespaceURI(
}
}
-String Node::textContent(bool convert_b_rs_to_newlines) const {
+String Node::textContent(bool convert_brs_to_newlines) const {
// This covers ProcessingInstruction and Comment that should return their
// value when .textContent is accessed on them, but should be ignored when
// iterated over as a descendant of a ContainerNode.
@@ -1306,7 +1306,7 @@ String Node::textContent(bool convert_b_rs_to_newlines) const {
StringBuilder content;
for (const Node& node : NodeTraversal::InclusiveDescendantsOf(*this)) {
- if (isHTMLBRElement(node) && convert_b_rs_to_newlines) {
+ if (isHTMLBRElement(node) && convert_brs_to_newlines) {
content.Append('\n');
} else if (node.IsTextNode()) {
content.Append(ToText(node).data());
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698