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

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

Issue 1738613002: Rename enums/functions that collide in chromium style in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-3
Patch Set: get-names-4: Created 4 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
Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
index 2fdfb8ec6bc3fc627f7ea85d3c7e0367f813f5df..6eaee1c3fdc4ccfc99ed2b3cb76087aa17141db2 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
@@ -104,10 +104,10 @@ ContainerNode::~ContainerNode()
bool ContainerNode::isChildTypeAllowed(const Node& child) const
{
if (!child.isDocumentFragment())
- return childTypeAllowed(child.nodeType());
+ return childTypeAllowed(child.getNodeType());
for (Node* node = toDocumentFragment(child).firstChild(); node; node = node->nextSibling()) {
- if (!childTypeAllowed(node->nodeType()))
+ if (!childTypeAllowed(node->getNodeType()))
return false;
}
return true;
@@ -1341,7 +1341,7 @@ void ContainerNode::recalcChildStyle(StyleRecalcChange change)
void ContainerNode::checkForSiblingStyleChanges(SiblingCheckType changeType, Node* nodeBeforeChange, Node* nodeAfterChange)
{
- if (!inActiveDocument() || document().hasPendingForcedStyleRecalc() || styleChangeType() >= SubtreeStyleChange)
+ if (!inActiveDocument() || document().hasPendingForcedStyleRecalc() || getStyleChangeType() >= SubtreeStyleChange)
return;
// Forward positional selectors include nth-child, nth-of-type, first-of-type and only-of-type.

Powered by Google App Engine
This is Rietveld 408576698