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

Unified Diff: third_party/WebKit/Source/core/dom/ProcessingInstruction.h

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/ProcessingInstruction.h
diff --git a/third_party/WebKit/Source/core/dom/ProcessingInstruction.h b/third_party/WebKit/Source/core/dom/ProcessingInstruction.h
index e7349711408020a26d14f1f200ccb1637006f119..7a13785ece4b93f90dfb2951eb30ca6443eda805 100644
--- a/third_party/WebKit/Source/core/dom/ProcessingInstruction.h
+++ b/third_party/WebKit/Source/core/dom/ProcessingInstruction.h
@@ -82,7 +82,7 @@ private:
ProcessingInstruction(Document&, const String& target, const String& data);
String nodeName() const override;
- NodeType nodeType() const override;
+ NodeType getNodeType() const override;
PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override;
InsertionNotificationRequest insertedInto(ContainerNode*) override;
@@ -115,11 +115,11 @@ private:
RefPtrWillBeMember<DetachableEventListener> m_listenerForXSLT;
};
-DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INSTRUCTION_NODE);
+DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, getNodeType() == Node::PROCESSING_INSTRUCTION_NODE);
inline bool isXSLStyleSheet(const Node& node)
{
- return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingInstruction(node).isXSL();
+ return node.getNodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingInstruction(node).isXSL();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698